Information technology - Document schema definition languages (DSDL) - Part 9: Namespace and datatype declaration in document type definitions (DTDs)
Scope:
This part of ISO/IEC 19757 defines a language that is designed to extend the declarative functionality of an XML DTD to include
- declaring one or more namespaces to which some or all of the element and attribute names in a DTD belong,
- declaring constraints on the content of elements with content model ANY to contain elements whose names belong to one or more specified namespaces,
- declaring datatypes for elements that contain data content only and for attribute values.
Two alternative syntax bindings for this language are defined. The first syntax binding uses XML processing instructions and is designed to enable declarations in this language to be embedded within an XML DTD without invalidating the DTD or altering its interpretation so far as legacy DTD parsers are concerned. This first syntax also provides a means of associating a DTD with an external declarations subset containing declarations in either syntax. This syntax is defined in Clause 4 using the modified BNF syntax notation used in W3C XML.
The second syntax binding uses an XML document syntax and is defined in Clause 5. The syntax rules are defined by a schema that conforms to the RELAX NG Compact Syntax defined in ISO/IEC 19757-2. This syntax is designed to enable declarations in this language to be expressed almost entirely in XML (in this case one XML processing instruction needs to be inserted in the DTD), to facilitate implementation using existing XML tools either as a namespace-qualified fragment embedded within an XML instance or as a separate XML document.
Note: The information provided above was obtained by the Standards Council of Canada (SCC) and is provided as part of a centralized, transparent notification system for new standards development. The system allows SCC-accredited Standards Development Organizations (SDOs), and members of the public, to be informed of new work in Canadian standards development, and allows SCC-accredited SDOs to identify and resolve potential duplication of standards and effort.
Individual SDOs are responsible for the content and accuracy of the information presented here. The text is presented in the language in which it was provided to SCC.