I thought DTDs do not support data types such as integer, float, etc., yet when I am working with a DTD, XML Authority allows me to chose these data types. How is that possible?

I thought DTDs do not support data types such as integer, float, etc., yet when I am working with a DTD, XML Authority allows me to chose these data types. How is that possible?

book

Article ID: KB0087836

calendar_today

Updated On:

Products Versions
Not Applicable -

Description

Resolution:
XML DTDs offer native support for a limited set of data types, namely string [CDATA], id, idref, idrefs, entity, entities, name (nmtoken), names (nmtokens), notation, and enumeration.  XML Authority, however, employs the DT4DTD convention to extend the data typing capabilities of DTDs to include a wide array of data-centric data types (e.g. number, float, date).  The DT4DTD specification is published as a Note by the W3C (http://www.w3.org/TR/dt4dtd).

Issue/Introduction

I thought DTDs do not support data types such as integer, float, etc., yet when I am working with a DTD, XML Authority allows me to chose these data types. How is that possible?