W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2011

[Bug 13750] Prefixes for defaulted attributes

From: <bugzilla@jessica.w3.org>
Date: Wed, 10 Aug 2011 21:54:10 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1QrGj4-0002eC-T0@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13750

--- Comment #1 from Michael Kay <mike@saxonica.com> 2011-08-10 21:54:10 UTC ---
It has also been noted in the JDOM thread that XSD 1.0 is silent on the
question of what the [prefix] of the new attribute should be - see section
3.4.5.

It has also been pointed out that the Infoset specification (unlike XDM) does
allow "synthetic infosets" to be inconsistent, for example by having an
attribute that is in a namespace but has no prefix in its name. However, I
think it is undesirable that a schema processor should generate an inconsistent
Infoset, as the history of this JDOM bug illustrates.

One other observation: if we add the rule that in the absence of a namespace
binding, the schema processor should invent a prefix, then we should also say
that it should construct a namespace information item that binds that prefix to
the target namespace.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 10 August 2011 21:54:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 10 August 2011 21:54:13 GMT