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

[Bug 3576] static-context-1 should raise XPTY0004

From: <bugzilla@wiggum.w3.org>
Date: Thu, 10 Aug 2006 05:12:02 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GB2pu-0008HL-Lv@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3576





------- Comment #3 from simeon@us.ibm.com  2006-08-10 05:12 -------
That's a tricky case here I think. I admit my opinion is that the spec is
unclear.

My first intuition is that XPST0001 should takes precedence. I.e., checking
whether the type 'test:unkonwnType' is in the context, should occur before type
matching is applied. A corrolary of that is that I think bullet '1 ET is an
unknown type' should actually never be used.

Because of the way the spec is written now, I would assume that keeping both
error codes in the test suite is the right thing to do as implementations may
actually do either one of those. But I would recommend asking the working group
to clarify this.

sorry I can't give a more definite answer to this right now.
Best,
- Jerome
Received on Thursday, 10 August 2006 05:12:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:44 GMT