xproc / 3.0-steps

Repository for change requests to the standard step library and for official extension steps
10 stars 7 forks source link

Attempt to fix-271 #321

Closed xml-project closed 4 years ago

xml-project commented 4 years ago

Fix #271 Created a new error code for this case as XD0064 is for options

xml-project commented 4 years ago

XSLT processor and the default or explicit base output URI will take care of it.

Nope: The XSLT processor is only required to check that result-document/href is an instance of XS:anyURI, not that it is a valid URI. This is why we need this additional check in the XProc processor.

gimsieke commented 4 years ago

I was not talking about validity of the URI, only about making the URI absolute. I just wanted to make sure that users can continue writing <xsl:result-document href="intermediate-results.xml"> without someone poking at them because they didn’t bother to use absolute URIs. It turned out that users may well continue to use relative hrefs.

xml-project commented 4 years ago

@gimsieke Sorry, I missed your point.