You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't understand why it has both role and uri attributes. It would seem to me that the fn-transform-20 test itself only needs the uri attribute to make the document available to the stylesheet-location. Is this a small mistake?
Likewise, as I read in the catalog-schema.xsd, it states in English (but does not enforce in its grammar):
The role and uri attributes indicate how the source document is made available to queries (as the context item, as the value of an external variable, or as a URI that can be supplied to the doc() function.)
Perhaps it is my reading, but I interpret that to mean that there should be a role OR uri attribute, but not both.
A second issue with fn-transform-20 is that it appears to make a possible assertion that can never be fulfilled. I see:
As regards the alternative results, it's worth reading https://www.w3.org/Bugs/Public/show_bug.cgi?id=29939 which caused Tim Mills to change the test in Oct 2016 (I haven't actually looked at what the test said before). In particular, it added text to the description of the stylesheet-base-uri parameter "If the supplied stylesheet already has a base URI (which will generally be the case if the stylesheet is supplied using stylesheet-node or stylesheet-location) it is implementation-defined whether this parameter has any effect.". I think this justifies having the two alternative results.
I am looking at the
fn-transform-20
test case here: https://github.com/w3c/qt3tests/blob/master/fn/transform.xml#L840I am a little bit confused by its source definition:
I don't understand why it has both
role
anduri
attributes. It would seem to me that thefn-transform-20
test itself only needs theuri
attribute to make the document available to thestylesheet-location
. Is this a small mistake?Likewise, as I read in the
catalog-schema.xsd
, it states in English (but does not enforce in its grammar):Perhaps it is my reading, but I interpret that to mean that there should be a
role
ORuri
attribute, but not both.A second issue with
fn-transform-20
is that it appears to make a possible assertion that can never be fulfilled. I see:However my reading of the test and the
staticbaseuri.xsl
is that it can only ever match:Comments please
The text was updated successfully, but these errors were encountered: