Order of Declarations in DTD subsets
Peter Murray-Rust
peter at ursus.demon.co.uk
Mon Dec 22 11:44:54 GMT 1997
At 09:36 22/12/97 +0000, Richard Light and James Clark wrote:
[... helpful replies deleted ...]
I was asking in the context of the emerging Simple API - I don't think this
gives us any problems, but I'd like to be sure that I can extract the
ELEMENTs before the ATTLISTs, regardless of the order they are actually
declared in.
I also note that the order of declarations of ELEMENTs, and attributes
within ATTLISTs is undefined. This is an area where different implementers
of the API might return different orders, so that it is marginally more
difficult to check if 2 DTDs are "equivalent". Is it possible or desirable
to suggest a canonical order for the output of either through the API?
[Alternatively, can Java check for the equality of 2 Enumerations (other
than by the user explicitly building a Hashtable)?]
P.
Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list