2.13 Data Formats
데이터 형식
All XML attribute values and some element bodies are text strings. These strings are defined by data format. Each data format specifies the allowable form of the string, the corresponding XML Schema datatype, and the intended use of the value. The set of ODM data formats follows:
모든 XML 속성 값과 일부 요소의 Body는 텍스트 문자열이다. 이러한 문자열은 Data Format으로 정의된다. 각 Data Format은 허용되는 문자열 형식(Allowed String Pattern), 해당 XML 스키마 데이터 유형(Schema DataType) 및 값의 의도된 사용을 지정한다. ODM의 Data Format은 다음과 같다.
integer
xs:integer
-?digit+
positiveInteger
xs:positiveInteger
+?digit+ (and representing an integer number > 0)
nonNegativeInteger
xs:nonNegativeInteger
+?digit+ (and representing an integer number >= 0)
float
xs:decimal
-?digit+(.digit+)?
date
xs:date
YYYY-MM-DD
time
xs:time
hh:mm:ss(.n+)? (((+|-)hh:mm)|Z)?
datetime
xs:dateTime
YYYY-MM-DDThh:mm:ss(.n+)?(((+|-)hh:mm)|Z)?
text
xs:string
any sequence of characters
oid
xs:string
any sequence of characters (minLength="1")
oidref
xs:string
any sequence of characters (minLength="1")
name
xs:string
any sequence of characters (minLength="1")
sasName
xs:string
( letter | _ )( letter | digit | _ )* (maxLength="8")
fileName
xs:anyURI
any sequence of characters
languageTag
xs:language
LL (-CC)* (e.g. "fr-FR")
string
xs:string
Semantically equivalent to text but directly supported as XML Schema datatype 의미상 텍스트와 동일하지만 XML 스키마 데이터 유형으로 직접 지원된다.
boolean
xs:boolean
(true | false | 1 | 0)
double
xs:string
(((+|-)?[0-9]+(.[0-9]+)?((D|d|E|e)(+|-)[0-9]+)?)|(-?INF)|(NaN))
hexBinary
xs:hexBinary
hex-encoded binary stream data
base64Binary
xs:base64Binary
binary stream encoded using Base64 Alphabet
hexFloat
xs:hexBinary
up to 16 characters
base64Float
xs:base64Binary
up to 12 characters
partialDate
xs:date
[YYYY[-MM[-DD ]]]
partialTime
xs:time
[hh[:mm[:ss(.n+)? (((+|-)hh:mm)|Z)?]]]
partialDatetime
xs:dateTime
[YYYY[-MM[-DD[T hh[:mm[:ss(.n+)? ((+|-)hh:mm)?]]]]]]
intervalDatetime
xs:string
partialDatetime/partialDatetime)|(durationDatetime/partialDatetime)|(partialDatetime/durationDatetime)
durationDatetime
xs:duration
(((+|-)?P((((n(n+)?)Y)?((nn+)?)M)?((nn+)?)D)?)(T(((n(n+)?)H)?((n(n+)?)M)?((n(n+)?)((.n+)?)S)?)?)?|(((n(n+)?)W))))
incompleteDatetime
xs:string
[YYYY|-]-[MM |-]-[DD|-]]]T[hh|-]:[mm|-]:[ss.s|-][?(+|-)nn:nn|Z]
incompleteDate
xs:string
[YYYY|-]-[MM |-]-[DD|-]
incompleteTime
xs:string
T[hh|-]:[mm|-]:[ss.s|-][?(+|-)nn:nn|Z]
URI
xs:anyURI
Last updated