This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
This test imports a schema without specifying an environment with a location hint. Compare with analyzeString-024.
No location hints should be needed. Se XQuery 4.11 If the target namespace is http://www.w3.org/2005/xpath-functions or[*] then the schemas described in Section C.2 Schema for the result of fn:json-to-xml FO31 and Section 5.6.5 fn:analyze-string FO31 are imported. ... If the target namespace is http://www.w3.org/2005/xpath-functions, then the implementation must ignore location hints. * the "or" here is a typo. And the paragraph could be better structured: <suggestion> The first URILiteral in a schema import specifies the target namespace of the schema to be imported. The URILiterals that follow the at keyword are optional location hints, and can be interpreted or disregarded in an implementation-dependent way. Multiple location hints might be used to indicate more than one possible place to look for the schema or multiple physical resources to be assembled to form the schema. If the target namespace is http://www.w3.org/2005/xpath-functions, then the schemas described in Section C.2 Schema for the result of fn:json-to-xml FO31 and Section 5.6.5 fn:analyze-string FO31 are imported; the implementation must not require any location hints to be provided and must ignore any that are provided. </suggestion> I think the analyze-string test cited precedes the introduction of this rule.
Thanks.