schematron phases
Posted: Thu Feb 26, 2009 2:41 pm
Hello,
I have an schematron file with phases an I am trying to validate it using NVDL with the option name http://www.thaiopensource.com/validate/phase in the validate element.
<mode name="root">
<namespace ns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2">
<validate schema="../xsd/maindoc/UBL-Invoice-2.0.xsd" useMode="components"/>
<validate schema="../utilities/test_rules.sch" useMode="schematron">
<option name="http://www.thaiopensource.com/validate/phase" arg="phase1"/>
</validate>
</namespace>
</mode>
<mode name="schematron">
<anyNamespace>
<attach/>
</anyNamespace>
</mode>
...
Oxygen gives me the following error:
E [oNVDL] option "http://www.thaiopensource.com/validate/phase" is not supported for this kind of schema
How can I get this phase being validated?
thank you
Oriol
I have an schematron file with phases an I am trying to validate it using NVDL with the option name http://www.thaiopensource.com/validate/phase in the validate element.
<mode name="root">
<namespace ns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2">
<validate schema="../xsd/maindoc/UBL-Invoice-2.0.xsd" useMode="components"/>
<validate schema="../utilities/test_rules.sch" useMode="schematron">
<option name="http://www.thaiopensource.com/validate/phase" arg="phase1"/>
</validate>
</namespace>
</mode>
<mode name="schematron">
<anyNamespace>
<attach/>
</anyNamespace>
</mode>
...
Oxygen gives me the following error:
E [oNVDL] option "http://www.thaiopensource.com/validate/phase" is not supported for this kind of schema
How can I get this phase being validated?
thank you
Oriol