Open adamretter opened 2 years ago
I agree that the role attribute is redundant.
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