xproc / 3.0-test-suite

The 3.0 test suite.
https://test-suite.xproc.org/
MIT License
4 stars 3 forks source link

Why should ab-override-content-types-005 fail? #747

Closed ndw closed 3 weeks ago

ndw commented 3 weeks ago

I think the intent of the test is that the empty string in:

override-content-types="[['', 'application/xml']]"

is invalid. But I don't think that's the case. <xsl:sequence select="matches('path/to/entry', '')"/> returns true.

The prohibition on matching zero-length strings is in fn:replace not fn:matches.

Or am I misunderstanding the test entirely?

ndw commented 3 weeks ago

ab-override-content-types-015 seems to be the same test for p:unarchive