[Home] [By Thread] [By Date] [Recent Entries]

  • From: Raymond Bissonnette <raybiss@f...>
  • To: xml-dev@l...
  • Date: Sun, 23 Nov 2008 11:18:50 -0500

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





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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member