Re: Proposal for Additions for Namespace Fixup

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 UTC