Re: [xml-dev] is an xml:id attribute a "DTD-determined ID"?

From
Michael Ludwig <>
To
Date
2009-09-16T20:43:24Z
ID
<20090916204324.GF3768@wladimir>
Thread
Re: [xml-dev] is an xml:id attribute a "DTD-determined ID"?
Michael Glavassevich schrieb am 16.09.2009 um 15:11:08 (-0400):
> 
> If you read through the specification you'll notice that the
> assignment of IDs is conceptually done by a component separate from
> the parser called an xml:id processor [1].

It's an add-on to the parser. Like XML Namespaces, XML Base, XInclude.

> Xerces has never provided an implementation of such a processor, so
> the answer to your question is no it won't work unless you've declared
> xml:id in a DTD. This isn't a bug. It's just a spec we've never
> implemented and have never claimed to support.

Oh - the King of XML Parsers doesn't do xml:id. To whom it is of
interest, it works out of the box with LibXML2. It's pretty practical.

-- 
Michael Ludwig