oNVDL and schematron : Unknown XPath version 0
Issues related with the oNVDL implementation of NVDL.
-
- Posts: 20
- Joined: Fri Apr 22, 2011 4:17 pm
oNVDL and schematron : Unknown XPath version 0
Post by matthieu.ricaud »
Hi,
I have a schematron who validate my xml file. It works when xml file is associate with it. But when calling the schematron from a NVDL file I get this error :
This are the test files :
test.xml
test.sch
test.nvdl
Do you know about this problem, do I have to change anything in my oXygen's preferences so it works ?
Regards,
Matthieu.
I have a schematron who validate my xml file. It works when xml file is associate with it. But when calling the schematron from a NVDL file I get this error :
When I use the ondvl.jar file downloaded from sourceforge I don't get any error.SystemID: C:\oNVDL\test.nvdl
Nom du moteur: Jing
Gravité: error
Description: java.lang.IllegalArgumentException-Unknown XPath version 0
This are the test files :
test.xml
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!--<?oxygen SCHSchema="test.sch"?>-->
<?oxygen NVDLSchema="test.nvdl"?>
<foo:bar xmlns:foo="http://www.foo.com" id=""/>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.ascc.net/xml/schematron">
<ns prefix='foo' uri='http://www.foo.com'/>
<pattern name="Common">
<rule context="*[@id]">
<report test="normalize-space(@id)=''">attribut @id is empty...!</report>
</rule>
</pattern>
</schema>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0" startMode="main">
<mode name="main">
<namespace ns="http://www.foo.com">
<validate schema="test.sch" />
</namespace>
</mode>
</rules>
Regards,
Matthieu.
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Re: oNVDL and schematron : Unknown XPath version 0
Please make sure you run the latest 12.2 build, 2011062910
http://www.oxygenxml.com/download_oxygenxml_editor.html
This build fixes a few issues, including the problem of calling a Schematron schema from an NVDL script that was a side effect of the upgrade to the latest Saxon:
http://www.oxygenxml.com/build_history.html#2011062910
Best Regards,
George
http://www.oxygenxml.com/download_oxygenxml_editor.html
This build fixes a few issues, including the problem of calling a Schematron schema from an NVDL script that was a side effect of the upgrade to the latest Saxon:
http://www.oxygenxml.com/build_history.html#2011062910
Best Regards,
George
George Cristian Bina
-
- Posts: 20
- Joined: Fri Apr 22, 2011 4:17 pm
Re: oNVDL and schematron : Unknown XPath version 0
Post by matthieu.ricaud »
Hi Georges,
I've upgraded my oXygen version to the latest build, and as expected : schematron validation within NDVL works perfectly now
!
Thanks a lot,
Regards,
Matthieu
I've upgraded my oXygen version to the latest build, and as expected : schematron validation within NDVL works perfectly now

Thanks a lot,
Regards,
Matthieu
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