- From: Abel Braaksma <abel.braaksma@xs4all.nl>
- Date: Thu, 13 Oct 2016 17:54:12 +0200
- To: "Public XSLWG" <public-xsl-wg@w3.org>
- Message-ID: <023101d2256a$0bc8dd40$235a97c0$@xs4all.nl>
I have run a few tests and the main bug I found has to do with QNames. For instance, the following validates correctly: <xsl:function name="test"></xsl:function> But an unqualified name is not allowed as a function name. Conversely, I noticed that the following is allowed by RNC: <xsl:template name="xsl:foo" /> But it isn't. The XSL namespace is reserved, except for the special name xsl:initial-template. Also, the following validated correctly, not sure why, it clearly isn't a QName or EQName. <xsl:function name="f:x:test" > I have not tested whether these rules are similarly lenient with XSD. Obviously, it won't be possible to validate everything, as some values are context dependent in a way that cannot be checked with RNG. My knowledge or RelaxNG is too limited to know what the extent is to what we can test. I did notice that it was very up-to-date, that is, xsl:source-document, for instance, was allowed, xsl:stream was not. Also, most errors were rather clear, which is good, of course. All in all,
Received on Thursday, 13 October 2016 15:54:51 UTC