Closed ndw closed 3 days ago
The test is from April 2019, p:invisible-xml was specified first December 2021. So I would say this is just a leftover. However: I do think we should explictly say that you can negate shortcuts. Additionally we should handle "-any". I would argue that this is an error. Does this make sense?
I wonder if it's possible to work out that the set of acceptable content types is empty and make that an error. I agree that -any
is nonsensical, but equally, xml html -html -xml
is nonsensical. But I'm not sure how practical it is to detect the error.
The test in
ab-contenttypes-025
is thatis invalid: "Tests XS0111 is raised for negated contenttype(sic) shortcut."
The spec doesn't say that you can negate shortcuts, but we decided we could use them in
p:invisible-xml
:I'm still open to the idea that
ab-contenttypes-025
is an error; what does it mean to have a content type that exists entirely of exclusions? But I don't think it'serr:XS0111
.