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

Re: Namespace Fixup Proposal

From: Alex Milowski <alex@milowski.org>
Date: Wed, 5 Sep 2007 18:01:01 -0700
Message-ID: <28d56ece0709051801t38775be9hec62307ca27600f6@mail.gmail.com>
To: "XProc WG" <public-xml-processing-model-wg@w3.org>

On 9/5/07, Henry S. Thompson <ht@inf.ed.ac.uk> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Alex Milowski writes:
>
> > Since XSLT 2.0/XQuery Serialization does not define or require namespace
> > fixup, serialization cannot handle documents with missing namespace
> > declarations.  We must require namespace fixup before serialization or
> > fail on documents with missing namespace declarations.
>
> I'm happy to require fixup during serialization.
>
> > In the spirit of interoperability, I believe we should require that our step
> > library produce documents with a minimal and complete set of
> > namespace declarations.
>
> I agree that we need to spell out what we want.  I don't agree it
> should be incumbent on every step that might need to do so.
>
> I think it's _much_ simpler, for implementors and for the spec., if we
> only require fixup during serialization (as already agreed, we _allow_
> fixup earlier).

There are some steps, like p:insert and p:replace, where fixup isn't
the correct thing.  Those steps should preserve the in-scope namespaces
so that any content that relies up it still works.


-- 
--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 Thursday, 6 September 2007 01:01:10 GMT

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