xproc / 3.0-test-suite

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

Allow err:XD0030 as a passing result #682

Closed ndw closed 6 months ago

ndw commented 6 months ago

I think err:XD0030 should be allowed as an alternative result for these tests.

ndw commented 6 months ago

My concern in 018 is that, while it's obvious that (1,2) is a sequence, it might not be obvious that, for example, (@foo,@bar) is (or is not) a sequence. So catching this error in general requires attempting to use the expression. If it fails, in order to get the more specific error, you have to be able to determine precisely why the sort failed. I could implement a heuristic that would let me pass the test, but it feels like cheating :-)

That's also my reasoning for 017.