Re: [xml-dev] The awesome power of Schematron + XPath 2.0 ... Able to express all my data requirements!

From
David Carlisle <>
To
Date
2007-10-25T12:02:59Z
ID
<>
Thread
Re: [xml-dev] The awesome power of Schematron + XPath 2.0 ... Able to express all my data requirements!
> '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. 
________________________________________________________________________