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

Re: Proposal for Additions for Namespace Fixup

From: Alex Milowski <alex@milowski.org>
Date: Thu, 6 Sep 2007 17:54:59 -0700
Message-ID: <28d56ece0709061754k3839d4e6pcda7b04ce5dae096@mail.gmail.com>
To: public-xml-processing-model-wg@w3.org

On 9/6/07, Norman Walsh <ndw@nwalsh.com> wrote:
> / Alex Milowski <alex@milowski.org> was heard to say:
> | p:unescape-markup must come from well-formed XML.  As such,
> | there can't be any undeclared prefixes.
>
> What about unescaping something like:
>
> &lt;x:foo xmlns:x="someURI"&gt;
>   &lt;notx:bar/&gt;
> &lt;/x:foo&gt;

That should fail to parse just like this does:

<x:foo xmlns:x="someURI">
 <notx:bar/>
</x:foo>

I am against having namespace fixup here because we should
be using an XML parser and that would be modifying the definition
of well-formed + XML Namespaces.

-- 
--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 Friday, 7 September 2007 00:55:19 GMT

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