Default URI collection | global; overwriteable by implementation
So if I understand it, an implementation is free to set any default URI collection they wish. If that is the case, would I be permitted to send a PR to change the result of the tests to be something like:
<test>uri-collection(())</test>
<result>
<any-of>
<assert>fn:not(fn:empty($result)) and every $uri in $result satisfies $uri instance of xs:anyURI</assert>
<error code="FODC0002"/>
<any-of>
</result>
I am a little confused by test cases
uri-collection-901
anduri-collection-903
, see: https://github.com/w3c/qt3tests/blob/master/fn/uri-collection.xml#L66Basically they look like this:
If I am interpreting the XP 3.1 spec correctly, then I think the result they are asserting might be too strict.
The spec for
fn:uri-collection
states:So I looked up the
default URI collection
definition in the Dynamic context here: https://www.w3.org/TR/xpath-31/#id-xp-evaluation-context-components, and it states:So if I understand it, an implementation is free to set any
default URI collection
they wish. If that is the case, would I be permitted to send a PR to change the result of the tests to be something like:Kind regards.