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

Re: adding namespaces for added attributes

From: Alex Milowski <alex@milowski.org>
Date: Tue, 4 Sep 2007 09:36:08 -0700
Message-ID: <28d56ece0709040936m338e0e8bwc0e1d367d6223af0@mail.gmail.com>
To: "XProc WG" <public-xml-processing-model-wg@w3.org>

On 9/4/07, Henry S. Thompson <ht@inf.ed.ac.uk> wrote:
> Hash: SHA1
> Alex Milowski writes:
> > The deleted sentence in at [1] should remain as that makes sure the
> > namespace declaration exist for the attribute.
> >
> > In addition, I think we should do a similar operation for set attributes [2].
> These stand or fall with a global decision about when/if we require
> all bars to serialisation to be detected -- see last week's minutes
> [3] under 'Namespace fixup' and ongoing thread [4].

I disagree.  This is our step and it is a simple process for the step
to generate a namespace declaration if it needs to do so.  If you use
the prefix from the QName, you'll be able to do the "right thing" most of
them time.  When that prefix is bound to a different namespace, the
step just generates a prefix for the namespace declaration.

If the step generates the namespace declartion, no fixup is needed.

This doesn't remove the need to handle namespace fixup in general but,
instead, makes our step behave nicely.

--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

Bertrand Russell in a footnote of Principles of Mathematics
Received on Tuesday, 4 September 2007 16:36:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:44 UTC