Re: Namespace Fixup Proposal

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 UTC