Data type for importing
DataMagic supports DTD and XML Schema as importable schema. However, the data type of each schema is handled as character data or numeric data in DataMagic. The data types are listed below.
In future upgrades or revisions, the operation to import a DTD as a schema file might become obsolete. Use an XML Schema rather than a DTD for the schema file for the schema file as much as possible.
(1) Data type of DTD element
Data type |
Type name |
---|---|
Character data |
#PCDATA EMPTY |
ANY is not supported. If you try to import a DTD that includes ANY, an error occurs.
(2) Data type of DTD attribute
Data type |
Type name |
---|---|
Character data |
CDATA, ID, IDREF, IDREFS, ENTITY, ENTITIES, NMTOKEN, NMTOKENS, enumerated type |
(3) Data type of XML Schema
Data type |
Type name |
---|---|
Character data |
string duration dateTime time date gYearMonth gYear gMonthDay gDay gMonth anyURI QName NOTATION normalizedString token language Name NCName ID IDREF IDREFS ENTITY ENTITIES NMTOKEN NMTOKENS base64Binary |
Numeric data |
boolean decimal float double integer nonPositiveInteger negativeInteger long int short byte nonNegativeInteger positiveInteger unsignedLong unsignedInt unsignedShort unsignedByte |
hexBinary is not supported. If you try to import an XML Schema that includes hexBinary, an error occurs.