ACTION 2016-09-22-001 on MK and Abel to run the Relax-NG / Jing test and report results and/or bugs

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