Re: 8. Are prefixes/namespaces allowed?

Convinces me.

+1
----
Stephen D Green



On 5 September 2012 20:14, John Cowan <cowan@mercury.ccil.org> wrote:

> Stephen D Green scripsit:
>
> > OK, but it does make me wonder what should happen when a MicroXML
> > parser tries to read an XML document that contains prefixes. Surely
> > if we get that right, it will at least be able to parse it, even if
> > it cannot resolve the prefix or distinguish a prefixed name from a
> > non-prefixed name.
>
> The trouble is that if we allow MicroXML parsers to accept QNames
> without knowing the XML namespace rules, we are licensing MicroXML
> authors/generators to create QNames without knowing the namespace rules.
> And while that is technically compliant with XML 1.0, it is an insuperable
> barrier to injecting such documents into an XML toolchain with more than
> just a parser into it.
>
> So the current consensus is to ban colons, which means there is no way
> to break the namespace rules.  Allowing just xml:* names would not have
> broken them either, but didn't get enough support.
>
> --
> John Cowan  cowan@ccil.org  http://ccil.org/~cowan
> In computer science, we stand on each other's feet.
>         --Brian K. Reid
>

Received on Thursday, 6 September 2012 07:09:49 UTC