Bob Stayton wrote:
> When XMLMind creates a referenced inclusion from one part of a document
> to another part, it uses an XInclude with an empty href attribute.  This
> is permitted by the XInclude standard for referencing the same document.
> However, I'm having difficulties processing documents with such references.
> 
> The xsltproc processor with --xinclude reports that they are recursive
> references, even though the xpointer attribute identifies only one
> element, and it is not recursive.
> 
> The Xerces 2.7.1 and 2.9.0 processors with XInclude enabled report
> errors like this:
> 
> "org.xml.sax.SAXParseException: Include operation failed,
> reverting to fallback.  Resource error reading file as XML
> (href=''). Reason: An xpointer was specified that points
> to a location in the source infoset. This location cannot
> be accessed due to the streaming nature of the processor."
> 
> Has anyone succeeded in processing files with such XIncludes?

No. That's why one needs to *restrict* herself/himself to basic things
when creating modular documents with XMLmind XML Editor. What to do is
described here:

http://www.xmlmind.com/xmleditor/_distrib/doc/user/tutorial_modular_document.html#interchangeable_modular_documents

Note that these restrictions are *not* needed when the document is
processed within XMLmind XML Editor. XMLmind XML Editor always submits a
single, ``flattened'', XML file to the XSLT processor (Saxon 6.5.5) it
invokes.


Reply via email to