XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] is an xml:id attribute a "DTD-determined ID"?

For enabling xml:id support in Xerces for XInclude you can use the patch 
I posted in the following issue report:

http://issues.apache.org/jira/browse/XERCESJ-1113

We use this in oXygen for some years.
I agree that a separate xml:id processor in Xerces will be better but 
until that will be available the patch solves very well the XInclude issue.

Best Regards,
George
-- 
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Michael Ludwig wrote:
> 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.
> 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS