W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2007

[Bug 4874] [F&O] Casting NOTATION to String

From: <bugzilla@wiggum.w3.org>
Date: Sun, 22 Jul 2007 22:33:05 +0000
To: public-qt-comments@w3.org
Message-Id: <E1ICjz7-00047F-HP@wiggum.w3.org>


------- Comment #1 from mike@saxonica.com  2007-07-22 22:33 -------
A separate problem, but I'll include it under the same bugzilla entry for

When converting from a string to an xs:QName or xs:NOTATION, both the language
book and F+O make it clear that the value must be supplied as a string literal.
However, neither says how the conversion is actually done: specifically how the
namespace context is determined. I think we all know that the unstated intent
is to use the in-scope namespace bindings from the static context of the
expression. But what URI is used when there is no prefix? Should the null
namespace be used, or does the default namespace for elements and types apply?
Despite the fact that the name is neither an element nor a type, I think this
default probably should apply, as this is the rule that is closest to the
semantics of schema validation.
Received on Sunday, 22 July 2007 22:33:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:19 UTC