Re: Reserved XML names and namespaces

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