This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
XQST0046 is a MAY. Should it even be tested? misc-CombinedErrorCodes: XQST0046_13, XQST0046_14: <a xmlns="%gg" /> What does xml-names say? "it is not REQUIRED to check that namespace names are URI reference" XQST0046_01: base-uri(<a xml:base="%gg" />), also accepts <assert-string-value>%gg</assert-string-value> would it not be resolved to an absolute URI? It might be a relative path without percent-encoding XQST0046_08: import schema "%gg" at "http://www.w3.org/"; can't find a schema => XQST0059 XQST0046_12: for $x in ("a", "a", "a") order by $x collation "%gg", accepts XQST0038, but that only happens for default collations, it should be XQST0076 K2-OrderbyExprWithout-4 collation "http:\\invalid%>URI\someURI" return XQST0076, too ?
The WG decided at the telcon 21st June 2016 to remove test cases that have XQST0046 as the assertion. For the test cases XQST0046_01 and XQST0046_12 that have more than one possible assertion I have decided to leave these ones in. For the test XQST0046_01 which has the invalid URI refering to '%gg' I think the expected result is correct according to the section: https://www.w3.org/TR/xpath-functions-31/#func-base-uri. Rule 2 states: 2. Otherwise, the function returns the value of the dm:base-uri accessor applied to the node $arg. This accessor is defined, for each kind of node, in the XDM specification (See Section 5.2 base-uri Accessor DM30).