Have you sent these test cases to any of the developer of the validators you mention?
Yes I have. Though, to be fair to Henri Sivonen, the first test-case doesn’t really apply to his Validator, as the schema it supports is “XHTML 1.0 + MathML + SVG”, and I was testing a specifically XHTML 1.1 feature.
2. I don’t think your second test case is correct. I trust the validators here. At least, you’re using namespaces in a way that is not compatible with XML DTD-based validation, and since the “XHTML + MathML + SVG Profile” is precisely that, a DTD, your document is wrong.
The document is an example of a perfectly conformant usage of XML Namespaces. Schema-based Validators (Validome and Henri Sivonen’s Validator1 ) have no problem with it.
It’s true that the DTD places an artificial additional constraint that the SVG-namespaced content be prefixed. But that (in my opinion) is a shortcoming of the DTD (and DTD-based validation).
3. your “Invalid XHTML” document is a very pathological case of a limitation of OpenSP…
But one that is terribly important to me (and to anyone else attempting to follow the W3C’s recommendation and serve XHTML with the proper MIME-type). After all, the error in question is a very easy one to make by mis-typing, and is absolutely fatal, since it renders the page ill-formed.
The next version of the W3C Markup Validator in development , which will go into Beta test in a few weeks, features an additional XML-WF check… based, actually, on an idea found on your blog. You can test the invalid XHTML test case on that dev version of the validator and see that it properly reports it as invalid.
That’s very cool! Thank you.
And I’m glad that, occasionally, something that I write here on this blog proves useful to y’all.
Would you give us your permission to use (and distribute under w3c license) the three documents in our test suite? (Just saying “yes” here should do).
Yes.
(Though I should say that test-cases are best if they test one and only one feature at a time. For dramatic effect, I combined several features into each of my files.)
1 Henri’s Validator has a completely unrelated problem with colons in ID values.