W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > January 2007

Re: Load Component

From: Alex Milowski <alex@milowski.org>
Date: Wed, 31 Jan 2007 14:04:08 -0800
Message-ID: <28d56ece0701311404s271751e4o140165d3c9daa898@mail.gmail.com>
To: public-xml-processing-model-wg@w3.org
On 1/31/07, Innovimax SARL <innovimax@gmail.com> wrote:
>
> On 1/31/07, Alex Milowski <alex@milowski.org> wrote:
> >
> >
> > On 1/31/07, Innovimax SARL <innovimax@gmail.com> wrote:
> > > what should be the behavior of load :
> > > * When loading a document with <!DOCTYPE or
> xsi:noNamespaceSchemaLocation
> > ?
> >
> > Do you mean whether validation happens?  I think that is an
> implementation
> > defined
> > switch that says whether they bootstrap resources as such.
>
> I ask this important question for interoperability, because PSVI could
> add content to the document.
> With your proposal, two pipelines could give different result because
> of that "implementation defined behaviour"


Yes.  This is already the case in a lot of programming
environments.  For example, if you don't setup your SAX parsing
correctly, you do not get XML comments.  Thus, the result of running
a pipeline with a single identity component step would be different
depending on how you bootstrap the input document.

If you want to guarantee that validation happens, that should be
your first step in the pipeline.

-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics
Received on Wednesday, 31 January 2007 22:04:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:49 GMT