다음을 통해 공유


파생 XML 데이터 형식

다음 표에서는 파생 XML 스키마 데이터 형식, 파생 데이터 형식에 적용할 수 있는 패싯 및 파생 데이터 형식에 대한 설명의 목록을 보여 줍니다.

패싯에 대한 자세한 내용은 데이터 형식 패싯을 참조하십시오.

데이터 형식 패싯 설명

normalizedString

length, pattern, maxLength, minLength, enumeration, whiteSpace

공백으로 표준화된 문자열을 나타냅니다. 이 데이터 형식은 string에서 파생됩니다.

token

enumeration, pattern, length, minLength, maxLength, whiteSpace

토큰화된 문자열을 나타냅니다. 이 데이터 형식은 normalizedString에서 파생됩니다.

language

length, pattern, maxLength, minLength, enumeration, whiteSpace

RFC 1766에 정의된 자연 언어 식별자를 나타냅니다. 이 데이터 형식은 token에서 파생됩니다.

IDREFS

length, maxLength, minLength, enumeration, whiteSpace

IDREFS 특성 형식을 나타냅니다. IDREF 형식의 값 집합을 포함합니다.

ENTITIES

length, maxLength, minLength, enumeration, whiteSpace

ENTITIES 특성 형식을 나타냅니다. ENTITY 형식의 값 집합을 포함합니다.

NMTOKEN

length, pattern, maxLength, minLength, enumeration, whiteSpace

NMTOKEN 특성 형식을 나타냅니다. NMTOKEN은 문자, 숫자 및 기타 문자 등을 조합한 이름 문자 집합입니다. NameNCName과는 달리 NMTOKEN에는 시작 문자에 대한 제한이 없습니다. 이 데이터 형식은 token에서 파생됩니다.

NMTOKENS

length, maxLength, minLength, enumeration, whiteSpace

NMTOKENS 특성 형식을 나타냅니다. NMTOKEN 형식의 값 집합을 포함합니다.

Name

length, pattern, maxLength, minLength, enumeration, whiteSpace

XML에서 이름을 나타냅니다. Name은 문자, 밑줄 또는 콜론으로 시작하여 문자, 숫자 및 기타 문자 등의 이름 문자가 사용되는 토큰입니다. 이 데이터 형식은 token에서 파생됩니다.

NCName

length, pattern, maxLength, minLength, enumeration, whiteSpace

콜론이 사용되지 않는 이름을 나타냅니다. 이 데이터 형식은 콜론으로 시작할 수 없다는 점을 제외하면 Name과 같습니다. 이 데이터 형식은 Name에서 파생됩니다.

ID

length, enumeration, pattern, maxLength, minLength, whiteSpace

XML 1.0 권장 사항에 정의된 ID 특성 형식을 나타냅니다. ID는 NCName(No-Colon-Name)이어야 하며 XML 문서 내에서 고유해야 합니다. 이 데이터 형식은 NCName에서 파생됩니다.

IDREF

length, enumeration, pattern, maxLength, minLength, whiteSpace

지정된 ID와 일치하는 ID 특성을 가지는 요소에 대한 참조를 나타냅니다. IDREF는 NCName이어야 하며 XML 문서 내에서 ID 형식의 특성 또는 요소 값이어야 합니다. 이 데이터 형식은 NCName에서 파생됩니다.

ENTITY

length, enumeration, pattern, maxLength, minLength, whiteSpace

XML 1.0 권장 사항에 정의된 ENTITY 특성 형식을 나타냅니다. 이름이 지정된 이름과 일치하며 구문 분석되지 않은 엔터티에 대한 참조입니다. ENTITY는 NCName이어야 하며 스키마에서 구문 분석되지 않은 엔터티 이름으로 선언되어야 합니다. 이 데이터 형식은 NCName에서 파생됩니다.

integer

enumeration, fractionDigits, pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, totalDigits, whiteSpace

선택적 선행 부호 + 또는 -가 있는 10진수의 시퀀스를 나타냅니다. 이 데이터 형식은 decimal에서 파생됩니다.

nonPositiveInteger

enumeration, fractionDigits, pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, totalDigits, whiteSpace

0보다 작거나 같은 정수를 나타냅니다. nonPositiveInteger는 음수 부호(-)와 10진수의 시퀀스로 구성됩니다. 이 데이터 형식은 integer에서 파생됩니다.

negativeInteger

enumeration, fractionDigits, pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, totalDigits, whiteSpace

0보다 작은 정수를 나타냅니다. 음수 부호(-)와 10진수의 시퀀스로 구성됩니다. 이 데이터 형식은 nonPositiveInteger에서 파생됩니다.

long

enumeration, fractionDigits, pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, totalDigits, whiteSpace

최소값 -9223372036854775808과 최대값 9223372036854775807을 갖는 정수를 나타냅니다. 이 데이터 형식은 integer에서 파생됩니다.

int

enumeration, fractionDigits, pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, totalDigits, whiteSpace

최소값 -2147483648과 최대값 2147483647을 갖는 정수를 나타냅니다. 이 데이터 형식은 long에서 파생됩니다.

short

enumeration, fractionDigits, pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, totalDigits, whiteSpace

최소값 -32768과 최대값 32767을 갖는 정수를 나타냅니다. 이 데이터 형식은 int에서 파생됩니다.

byte

enumeration, fractionDigits, pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, totalDigits, whiteSpace

최소값 -128과 최대값 127을 갖는 정수를 나타냅니다. 이 데이터 형식은 short에서 파생됩니다.

nonNegativeInteger

enumeration, fractionDigits, pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, totalDigits, whiteSpace

0보다 크거나 같은 정수를 나타냅니다. 이 데이터 형식은 integer에서 파생됩니다.

unsignedLong

enumeration, fractionDigits, pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, totalDigits, whiteSpace

최소값 0과 최대값 18446744073709551615를 갖는 정수를 나타냅니다. 이 데이터 형식은 nonNegativeInteger에서 파생됩니다.

unsignedInt

enumeration, fractionDigits, pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, totalDigits, whiteSpace

최소값 0과 최대값 4294967295를 갖는 정수를 나타냅니다. 이 데이터 형식은 unsignedLong에서 파생됩니다.

unsignedShort

enumeration, fractionDigits, pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, totalDigits, whiteSpace

최소값 0과 최대값 65535를 갖는 정수를 나타냅니다. 이 데이터 형식은 unsignedInt에서 파생됩니다.

unsignedByte

enumeration, fractionDigits, pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, totalDigits, whiteSpace

최소값 0과 최대값 255를 갖는 정수를 나타냅니다. 이 데이터 형식은 unsignedShort에서 파생됩니다.

positiveInteger

enumeration, fractionDigits, pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, totalDigits, whiteSpace

0보다 큰 정수를 나타냅니다. 이 데이터 형식은 nonNegativeInteger에서 파생됩니다.

참고 항목

참조

XML 데이터 형식 참조
기본 XML 데이터 형식

개념

데이터 형식 패싯