W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2006

[Bug 1660] [FS] editorial: Computed Attribute Constructors

From: <bugzilla@wiggum.w3.org>
Date: Mon, 01 May 2006 23:09:58 +0000
To: public-qt-comments@w3.org
Message-Id: <E1FahWg-0007qE-95@wiggum.w3.org>


------- Comment #2 from jmdyck@ibiblio.org  2006-05-01 23:09 -------
(In reply to comment #1)
> Replaced QName1 = xs:QName(Value1) by the syntactic construction
> of an QName using the fn:prefix-from-QName and fn:localname-from-QName
> functions. This is used similarly in the refactoring of the
> dynamic rules in Computed Element Constructors.

I think this approach might be a mistake. I'm inclined to think that in an
AttributeValue or ElementValue, the name should be an expanded-QName, not a
QName. Using QName assumes a) that its prefix is bound to the appropriate
namespace name in the in-scope namespaces; and b) that that same binding exists
everywhere in the inference process that the QName needs to be expanded. I
don't think either assumption is true.
Received on Monday, 1 May 2006 23:10:02 UTC

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