The current wording of 3.4 Specifying content types suggests that -application/xml is allowed, but -xml is not. That was perhaps the case at one time, but we clearly decided it was okay when we specified p:invisible-xml.
We should clarify that shortcuts can be negated.
We should also consider if there are any additional error conditions we can capture. -any seems pointless. But so does application/xml text/xml -xml. What's not clear on five minutes thought is whether or not it's practical to detect this error statically.
The current wording of 3.4 Specifying content types suggests that
-application/xml
is allowed, but-xml
is not. That was perhaps the case at one time, but we clearly decided it was okay when we specifiedp:invisible-xml
.We should clarify that shortcuts can be negated.
We should also consider if there are any additional error conditions we can capture.
-any
seems pointless. But so doesapplication/xml text/xml -xml
. What's not clear on five minutes thought is whether or not it's practical to detect this error statically.