Page 1 of 1

oNDVL not using XPath 2.0 in ISO schematron

Posted: Fri Jun 13, 2008 9:55 am
by PaulHermans
Hi,

(This is related to the integration of oNVDL in Oxygen.)

I have an ISO Schematron file using XPath 2.0 expressions.
Validating an instance with this ISO Schematron file from within Oxygen gives the expected results.

When integrating this schematron file within a nvdl file

Code: Select all

<namespace ns="http://purl.org/dc/terms/">
         <validate schema="schematron/template_nsa.sch"/>
         <attach/>
</namespace>


I get following errors.

Code: Select all

SystemID: /Users/Paul/Desktop/Projects/ICTU/schematron/template_nsa.sch
Description: Error in expression *[namespace-uri(.) = 'http://purl.org/dc/terms/' and local-name(.)=('accessRights','license','provenance','rights','subject')]: expected ")", found ","


Seems to me that XPath 2.0 is not used.

Re: oNDVL not using XPath 2.0 in ISO schematron

Posted: Fri Jun 13, 2008 10:31 am
by george
Hi Paul,

oNVDL does not support ISO Schematron. The status is that we started some work on that it will be implemented. Right now I am working to move the project to Sourceforge to allow other people interested in NVDL to get more easily involved. See
http://sourceforge.net/projects/onvdl/

Best Regards,
George

Re: oNDVL not using XPath 2.0 in ISO schematron

Posted: Fri Jun 13, 2008 4:01 pm
by PaulHermans
Thanks for this update.


Paul