← Prev in month ← Prev in thread

Newbie with Schematron ISO Validator

From
Raymond Bissonnette <>
To
Date
2008-11-23T16:18:50Z
ID
<000c01c94d87$2bb892d0$8329b870$@ca>
Thread
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
← Prev in month ← Prev in thread