W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > May 2011

Re: Reserved XML names and namespaces

From: Michael Schäfer <michael.schaefer@destatis.de>
Date: Wed, 18 May 2011 12:38:37 +0200
Message-ID: <4DD38F0F.2080505@destatis.de>
To: veillard@redhat.com
CC: "Grosso, Paul" <pgrosso@ptc.com>, public-xml-core-wg@w3.org


Am 18.05.2011 09:51, schrieb Daniel Veillard:
> On Tue, May 17, 2011 at 09:16:56AM -0400, Grosso, Paul wrote:
>> I believe your summary is basically correct.
>>
>> Some tools (XML editors, schema editors, XSLT processors, etc.) may
>> issue a warning as you suggest might be the case, but since the spec
>> doesn't require it, such a warning would be optional.
>
>    I had though about that in the context of libxml2 years ago, the
> problem is that basically you need to keep a "whitelist" of allowed
> "xml" names in the parser and forces the parser to be updated in some ways
> when new XML specs using new "xml" based names are issued. A maintainance
> nightmare so I didn't do this, even when the parser is in pedantic mode,

I think this is absolutely o.k. for a parser, but I would have preferred
if oXygen had warned me that I was creating a non-conforming schema (AFAIK,
other schema editors didn't complain either). It would have saved me some
trouble.

Michael
Received on Wednesday, 18 May 2011 10:38:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:43 UTC