[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

  • From: George Cristian Bina <george@oxygenxml.com>
  • To: xml-dev@lists.xml.org
  • Date: Fri, 18 Sep 2009 10:51:43 +0300

Re:  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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.