[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Problem with XInclude/Xpointer
Hi Zbyszek, oXygen uses Xerces 2.7.1 when you run Java transformers like Saxon and Xerces support for XPointer is limited to the element scheme and DTD-determined IDs, see: Does the XInclude processor support XPointer? http://xerces.apache.org/xerces2-j/faq-xinclude.html#faq-7 What types of IDs are currently supported for XPointers? http://xerces.apache.org/xerces2-j/faq-xinclude.html#faq-8 This is related also with the recent thread: "Docbook 5.0 Relax Schema and Xpointer Resolution" As a workaround you can get the included fragment in a separate document and xinclude it from both places. Best Regards, George --------------------------------------------------------------------- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Zbyszek Cybulski wrote: > Hi all, > > I was trying to use modular sections in my documentation according to > the example from the Bob's book, > http://www.sagehill.net/docbookxsl/ModularSections.html (second > example, with xpointer) > > However, the document does not validate with Saxon 5.4. > The error message says: > SchemeUnsupported: The XPointer scheme 'xpointer' is not supported. > and then > Include operation failed, reverting to fallback. Resource error > reading file as XML (href='../AdminManual/prerequisites.xml'). Reason: > XPointer resolution unsuccessful. > > The path to the included file is correct. I work with DocBook DTD > 4.4/Saxon 5.4 under Oxygen 6.2. > > What's wrong with the xpointer support? > > Thanks and regards, > > -Zbyszek > > --------------------------------------------------------------------- > 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]