schematron phases
Issues related with the oNVDL implementation of NVDL.
-
- Posts: 1
- Joined: Thu Feb 26, 2009 1:56 pm
schematron phases
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
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Re: schematron phases
oNVDL does not provide support for ISO Schematron (I started to work on that at some point but the support was just started and never finished). You get the error because the test_rules.sch schema you refer is an ISO Schematron schema. If you change that to pre-ISO using the http://www.ascc.net/xml/schematron namespace then you should not get an error when setting the phase.
The NVDL implementation from oNVDL and other changes made in oNVDL were merged back into Jing at
http://code.google.com/p/jing-trang/
ISO Schematron support is one of the planned enhancements, see
http://code.google.com/p/jing-trang/issues/detail?id=23
You can vote for that by starring the issue to show your interest.
Regards,
George
The NVDL implementation from oNVDL and other changes made in oNVDL were merged back into Jing at
http://code.google.com/p/jing-trang/
ISO Schematron support is one of the planned enhancements, see
http://code.google.com/p/jing-trang/issues/detail?id=23
You can vote for that by starring the issue to show your interest.
Regards,
George
George Cristian Bina
-
- Posts: 84
- Joined: Tue Oct 11, 2005 9:17 am
- Location: Helsinki, Finland
- Contact:
Re: schematron phases
I assume Oxygen will start using the new Jing at some point. Any information when we might see this in Oxygen?george wrote: The NVDL implementation from oNVDL and other changes made in oNVDL were merged back into Jing...
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Re: schematron phases
We need a new Jing release first.
I have a working copy on which I merged the latest Jing into oXygen. That needs some more work as a couple of automatic tests fail but it should be just a matter of days to update it once a stable Jing release is out.
Best Regards,
George
I have a working copy on which I merged the latest Jing into oXygen. That needs some more work as a couple of automatic tests fail but it should be just a matter of days to update it once a stable Jing release is out.
Best Regards,
George
George Cristian Bina
Return to “oNVDL Related Issues”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service