Re: [xml-dev] Re: determining ID-ness in XML

From
Jonathan Borden <>
To
, "Christopher R. Maden" <>
Date
2001-11-09T20:00:13Z
ID
<004e01c16959$27866710$>
Thread
Re: [xml-dev] Re: determining ID-ness in XML
Christopher R. Maden wrote:

>
> There are valid XML documents written without xml:id.
>
> It would be good for non-DTD-reading systems to know about IDs in those
> documents.

The whole point of xml:id is for documents which are well-formed. All valid
XML documents are valid with respect to a DTD which can indicate IDs.

>
> Adding xml:id will invalidate those documents.

Right, but there is no need to add xml:id to documents which are associated
with a DTD, the entire reason for existence is those XML documents without a
DTD. So yes, you can shoot yourself in the head, but doing so is not
recommended :-)

Jonathan