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

Re: in-scope namespaces & inline documents

From: Alex Milowski <alex@milowski.org>
Date: Wed, 14 Mar 2007 07:45:31 -0700
Message-ID: <28d56ece0703140745j60309f32p4403b96ff92f6e7b@mail.gmail.com>
To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>
On 3/14/07, Henry S. Thompson <ht@inf.ed.ac.uk> wrote:
> Hash: SHA1
> Alex Milowski writes:
> > The inline XSLT transformation won't compile unless the in-scope
> > namespaces are copied to the document element supplied as part of
> > the input to the 'transform' port of the XSLT step.
> 'copied'? 'document element'?  We've been clear from the beginning
> that what flows down pipes is infosets.  The EII corresponding to
> '<xsl:transform version="1.0">', which will become the document EII of
> the infoset on the 'transform' port, has all the bindings it needs.

The problem is that the  in-scope namespaces  has namespaces
that aren't declared on that element.  As such, you need to fabricate
the namespace declarations.  This is the difference between the
[in-scope namespaces] property and the [namespace attributes]
property of the element information item.

--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 Wednesday, 14 March 2007 14:46:35 UTC

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