qiuwei / jing-trang

Automatically exported from code.google.com/p/jing-trang
Other
1 stars 1 forks source link

Support Schematron let statement #63

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This is in 1.6 and in ISO schematron.

Not clear to me what happens when different phases have different values
for a variable, and #ALL is being used.

Original issue reported on code.google.com by jjc.jclark.com on 25 Dec 2008 at 7:35

GoogleCodeExporter commented 8 years ago
At "5.4.5 let element" in the spec we have:
***
 It is an error for a variable to be multiply defined in the current schema, phase, pattern and rule.
***
so I guess the same variable cannot be defined twice. 
We need to check also what happens in the ISO skeleton implementation from 
schematron.com.

Original comment by georgebina76 on 19 Aug 2011 at 5:25

GoogleCodeExporter commented 8 years ago
The ISO skeleton generates global variables for all the variables defined in 
phase and thus defining the same variable twice will result in an error. Thus, 
for #ALL we should define the variables from all the phases and we will get an 
error if we have duplicates.

Original comment by georgebina76 on 23 Aug 2011 at 8:35