[Home] [By Thread] [By Date] [Recent Entries]

  • From: David Carlisle <davidc@n...>
  • To: goffinf@g...
  • Date: Thu, 25 Oct 2007 13:02:59 +0100



> 'Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor'
> 
> It nonetheless produced the stylesheet successfully, so not sure why ?

The warning is a requirement in the XSLT 2 spec, that the stylesheet has
version="1.0" so runs in backward compatibility mode. If the warning
offends then saxon has a -novw command line option to turn it off, or of
course you can modify the stylesheet to have version="2.0".

> Changing both to xs:integer was OK, so I don't know if this is a limitation
> of SaxonB which will go away when I switch to SaxonSA ?

se a recent discussion between Mike and Rick on this list. the XSLT 2
Basic conformance level mandates that these types are not supported.
the Schema-aware conformance level mandates that they are supported.
However the free version of saxon will support these types if you ask
for them:

> http://www.saxonica.com/documentation/extensions/attributes/allowallbuiltintypes.html
> 

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member