Next in thread → Next in month →

Re: [xml-dev] Why does iso_svrl_for_xslt2.xsl specify version="1.0"?

From
Rick Jelliffe <>
To
"Costello, Roger L." <>
Date
2018-07-05T19:54:01Z
ID
<CADUdYQW6uUC_8Hncs=+>
Thread
Re: [xml-dev] Why does iso_svrl_for_xslt2.xsl specify version="1.0"?
IIRC it means it generates an XSLT 2 meta-stylesheet. Which means you can use Xpath 2.0.  

But it only requires XSLT 1 to generate that stylesheet. (Which is a pain, since some XSLT 2 engines will generate a message that they are running XSLT 1 stylesheet on an XSLT engine. The only purpose of this message is to annoy me and to add to the complexity of the universe.)

(I agree with Tony Graham that there is no advantage, and we would be better off just having discrete XSLT 1, 2 and 3 implementations, so you have to compile in the target XSLT version.)

Rick
Lisbon


On Thu, 5 Jul. 2018, 11:54 Costello, Roger L., <[email protected]> wrote:
Hi Folks,

Schematron question ...

There is a file whose name is iso_svrl_for_xslt2.xsl

That filename seems to suggest it is an XSLT 2.0 stylesheet.

But when I open the file, I see this:

<xsl:stylesheet version="1.0" ...

Why?

/Roger

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: [email protected]
subscribe: [email protected]
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
Next in thread → Next in month →