XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
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., <costello@mitre.org> 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: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php


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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS