Re: [xsl] keys and idrefs - XSLT2 request?

Subject: Re: [xsl] keys and idrefs - XSLT2 request?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 10 Oct 2001 11:32:20 +0100

> I was hoping that the processor would see 2.0, know it was a 1.0
> processor, and stop, right there, or at least give a warning.

No, it would go on, and process things via fallback, this behaviour is
specified in the xslt 1.0 spec. But as Jeni notes you can only fallback
or detect new xsl elements or new xpath functions. You can't do anything
if the same syntax means something different.

XSLT 1.0 says:

  Thus, any XSLT 1.0 processor must be able to process the following
  stylesheet without error, although the stylesheet includes elements from
  the XSLT namespace that are not defined in this specification:

  <xsl:stylesheet version="1.1"

so just putting 1.1 or 2.0 in the version number will _not_ produce any
warning if the stylesheet is run on a 1.0 processor.


This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:

Current Thread