RE: [xml-dev] Newbie with Schematron ISO Validator

From
Michael Kay <>
To
'Raymond Bissonnette' <>,
Date
2008-11-23T16:59:23
ID
<B364F0C687FA41B19DC45FC096199ADA@Sealion>
Thread
RE: [xml-dev] Newbie with Schematron ISO Validator
There's a thread on this at

http://www.eccnet.com/pipermail/schematron/2008-September/000001.html

It seems that the stylesheet unintentionally used XSLT 2.0 features. Try it
with an XSLT 2.0 processor.

Michael Kay
http://www.saxonica.com/
 

> -----Original Message-----
> From: Raymond Bissonnette [mailto:] 
> Sent: 23 November 2008 16:19
> To: 
> Subject: [xml-dev] Newbie with Schematron ISO Validator
> 
> Hi,
> 
> I'd like to use ISO Schematron validator 
> (http://www.schematron.com/) but I'm stuck with the first 
> transformation (iso_dsdl_include.xsl).
> 
> I'm using .NET 3.5 with a compiled transform and I get these 
> two errors:
> + The variable or parameter 'theDocument' was duplicated 
> within the same
> scope.
> + I also get the same with 'theFragment'
> 
> I also tried the template in Oxygen and I get the same error 
> with different XSLT processor.
> 
> This is what Saxon6.5.5 says:
>   SystemID: D:\documents\schemas\schematron\iso_dsdl_include.xsl
>   Description: [Saxon6.5.5] Failed to compile stylesheet. 2 
> errors detected.
> 
>   SystemID: D:\documents\schemas\schematron\iso_dsdl_include.xsl
>   Location: 856:0
>   Description: [Saxon6.5.5] Variable is already declared in 
> this template
> 
>   SystemID: D:\documents\schemas\schematron\iso_dsdl_include.xsl
>   Location: 858:0
>   Description: [Saxon6.5.5] Variable is already declared in 
> this template
> 
> 
> Any idea about what I'am doing wrong?
> 
> 
> Regards,
> Raymond
> 
> 
> 
> 
> ______________________________________________________________
> _________
> 
> 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: 
> subscribe:  List archive: 
> http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>