Skip to content

XML Schema Builtin Type Mappings

Alexey Valikov edited this page Dec 28, 2015 · 1 revision

XML Schema Builtin Type Mappings

The table below lists supported XML Schema built-in types and corresponding Jsonix types generated by the Jsonix Schema Compiler.

XML Schema Type Generated Jsonix Type
xs:anyType AnyType
xs:anySimpleType AnySimpleType
xs:string String
xs:normalizedString NormalizedString
xs:token Token
xs:language Language
xs:Name Name
xs:NCName NCName
xs:ID ID
xs:IDREF IDREF
xs:NMTOKEN NMToken
xs:NMTOKENS NMTokens
xs:boolean Boolean
xs:base64Binary Base64Binary
xs:hexBinary HexBinary
xs:float Float
xs:decimal Decimal
xs:integer Integer
xs:nonPositiveInteger NonPositiveInteger
xs:negativeInteger NegativeInteger
xs:long Long
xs:int Int
xs:short Short
xs:byte Byte
xs:nonNegativeInteger NonNegativeInteger
xs:unsignedLong UnsignedLong
xs:unsignedInt UnsignedInt
xs:unsignedShort UnsignedShort
xs:unsignedByte UnsignedByte
xs:positiveInteger PositiveInteger
xs:double Double
xs:anyURI AnyURI
xs:QName QName
xs:duration Duration
xs:dateTime DateTime
xs:time Time
xs:date Date
xs:gYearMonth GYearMonth
xs:gYear GYear
xs:gMonthDay GMonthDay
xs:gDay GDay
xs:gMonth GMonth
Clone this wiki locally