Yet more bug fixes for my XSLT 2.0 RELAX NG Grammar. This version validates stylesheets conforming to the 8 June 2006 draft of XSLT 2.0.

In the year or so since I last published this schema, I've made a few fixes (and most recently David[L] offered a few more). Specifically:

The new xslt20.rnc is available. It still works with the (unmodified) xslt10.rnc and xslt.rnc grammars.

Please continue to report any bugs that you find. Share and enjoy!

Comments:

maybe it's the XDM-spec syndrome biting again but The rnc linked from this page seems to be

# $Id: xslt20.rnc,v 1.3 2005/04/19 11:51:35 ndw Exp $

ie a version from last year, without the changes described.

Posted by David Carlisle on 12 Jul 2006 @ 02:17p UTC [link]

In fact, I think the RNC was correct but, (a) I forgot to tell Subversion to update the $Id$ keyword and, (b) I forgot to update the Change Log. Both fixed now.

Posted by Norman Walsh on 12 Jul 2006 @ 02:28p UTC [link]

> both fixed now.

and it validates my current stylesheet, thanks. (and for making comments visible)

Posted by David Carlisle on 12 Jul 2006 @ 02:37p UTC [link]

Hi Norman... Thanks for these schemas! Excuse me for pimping my software, but I've just released a free Cocoa app called XML Nanny that will graphically validate your instance docs against RNC, RNG, DTD, WXS and Schematron. I thought you mightl like to try it with your RNCs, I just did. It was fun :)

Posted by Todd Ditchendorf on 13 Jul 2006 @ 05:53a UTC [link]

Woopsie... XML Nanny

Posted by Todd Ditchendorf on 13 Jul 2006 @ 04:59p UTC [link]

Thank you for these schema, Norman! I've been using NXML mode for a while with my XSLT 1.0 docs, but I was annoyed with the inability to validate XSLT 2.0 on the fly.

Posted by Ben Norman on 04 Jun 2007 @ 03:35p UTC [link]
Add a comment or subscribe to (existing) comments on this essay.