Re: XInclude with Schemas

2008-05-19 Thread Michael Glavassevich
Hi Richard, There are currently no plans to further enhance the XInclude implementation in Xerces. I recall one of the issues with schema-determined IDs [1] is that in order to support them we may have to buffer portions of or the entire document in memory before being able to determine than an X

XInclude with Schemas

2008-05-19 Thread Richard Huddleston
I'm wondering when Xerces will get support for XInclude use with Schemas. I was trying to do something like Where chapter_one is the ID of a chapter element in Chapters.xml. No go. I checked the Xerces XInclude FAQand saw this: W

Re: Processing instrunction outside the root element

2008-05-19 Thread Michael Glavassevich
... and the likely bug is this [1]. Fixed in October 2004. [1] http://issues.apache.org/jira/browse/XERCESJ-1016 Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] Michael Glavassevich/Toronto/[EMAIL PROTECTED] wrote on 05/19/2008 12:2

Re: Processing instrunction outside the root element

2008-05-19 Thread Michael Glavassevich
[EMAIL PROTECTED] wrote on 05/19/2008 11:53:06 AM: > I agree that it sounds like Xerces should > always be delivering this late PI to the application. Can we come up > with small testcase that demonstrates a failure to do so? I vaguely remember fixing a problem like that years ago so it might on

Re: Processing instrunction outside the root element

2008-05-19 Thread Eliot Kimber
On 5/19/08 10:53 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: >> That is not true. The definition of document in the XML 1.1 spec is: >> ( prolog element Misc* ) > > Hmmm. You're right; my error. That's true even in 1.0. > > > Tim Bray, in his Annotated XML Specification, said:

Re: Processing instrunction outside the root element

2008-05-19 Thread keshlam
>That is not true. The definition of document in the XML 1.1 spec is: > ( prolog element Misc* ) Hmmm. You're right; my error. That's true even in 1.0. Tim Bray, in his Annotated XML Specification, said: "The fact that you're allowed some trailing junk after the root element, I decid

Re: Processing instrunction outside the root element

2008-05-19 Thread Eliot Kimber
On 5/19/08 8:22 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: >> processing instruction outside the root element (at the very end of the > document) > > By XML's grammar rules, nothing meaningful may follow the root element. > That includes PIs. Any tool which is processing that PI is actu

Re: Processing instrunction outside the root element

2008-05-19 Thread keshlam
> processing instruction outside the root element (at the very end of the document) By XML's grammar rules, nothing meaningful may follow the root element. That includes PIs. Any tool which is processing that PI is actually behaving incorrectly. Fix your document design? ___