[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Re: Docbook 5.0 Relax Schema and Xpointer Resolution
I also made a build starting from Xerces 2.7.1 and applying this patch and I made it available here: http://www.oxygenxml.com/update/xmlid/LICENSE http://www.oxygenxml.com/update/xmlid/xercesImpl.jar http://www.oxygenxml.com/update/xmlid/xml-apis.jar IMPORTANT: ********* Please note that this is not Xerces 2.7.1, it is a modified version containing the patch from http://issues.apache.org/jira/browse/XERCESJ-1113 ********* If the corresponding jars are replaced in [oXygen]/lib with the above ones then you will get xml:id working in XInclude XPointers and DocBook 5 Relax NG schemas. Best Regards, George --------------------------------------------------------------------- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com George Cristian Bina wrote: > Hi Norm, > > I logged it on Apache Jira and also provided a patch for that. > http://issues.apache.org/jira/browse/XERCESJ-1113 > > Best Regards, > George > --------------------------------------------------------------------- > George Cristian Bina > <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger > http://www.oxygenxml.com > > > Norman Walsh wrote: >> / "Ray Miller" <millerr@centechgroup.com> was heard to say: >> |>> I'm not completely sure I understand. Could you post a short test >> | document that demonstrates the problem? << >> | >> | The Xpointer positioning issue is not a limitation imposed by >> Docbook-rng >> | but tools that only support dtd-based ids. An example of this is >> Xerces for >> | parsing XML documents and for providing XInclude / XPointer support. >> "... >> | XPointer support in Xerces is limited, IDs are supported only when >> they are >> | defined in DTDs ..." ( per George at oXygen ). >> >> Hmm. The xml:id Recommendation is supposed to fix this. >> >> | Xerces appears to successfully resolve Docbook-rng Xpointers by >> utilizing a >> | position syntax of something like xpointer="element(/1/2/3)" to >> reference a >> | nested element but not dereferencing the same nested element >> utilizing an id >> | with syntax such as xpointer="element(foo)", which is (my) preferred >> method >> | for Docbook-dtd-4X >> >> Indeed. The shortcut xpointer="#foo" ought to work too, though there >> are still some spec gaps technically. >> >> Hopefully, Xerces will support xml:id "real soon now". A bug report to >> them to that effect might be useful. >> >> In the meantime, https://xmlidfilter.dev.java.net/ is supposed to fix >> this at the SAX level, so the xml:id attributes "look like" they've >> been DTD validated. That might help. >> >> Be seeing you, >> norm >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]