- From: <bugzilla@wiggum.w3.org>
- Date: Fri, 19 Mar 2010 16:15:05 +0000
- To: public-xml-schema-testsuite@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4920 Michael Kay <mike@saxonica.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mike@saxonica.com --- Comment #4 from Michael Kay <mike@saxonica.com> 2010-03-19 16:15:04 --- Saxon reports all these tests as invalid. They all fail for the same reason: whitespace is used where it is not allowed, either within a NameTest or within the token "//". Specifically, the offending lines are: I014: <xsd:selector xpath="tid :*"/> I016: <xsd:selector xpath="tid : *"/> I022: <xsd:selector xpath="./ /."/> J015: <xsd:field xpath="xpns :*"/> J017: <xsd:field xpath="xpns : *"/> J030: <xsd:field xpath="./ /."/> XPath 1.0 does not allow a space in the middle of these constructs (NameTest and // are both tokens). XSD 1.0 says the same thing. The relevant rules are in 3.11.6: <quote> For readability, whitespace may be used in selector XPath expressions even though not explicitly allowed by the grammar: whitespace may be freely added within patterns before or after any token. [5] token ::= '.' | '/' | '//' | '|' | '@' | NameTest [6] whitespace ::= S </quote> -- 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 Friday, 19 March 2010 16:15:06 UTC