oNDVL not using XPath 2.0 in ISO schematron

Issues related with the oNVDL implementation of NVDL.
PaulHermans
Posts: 82
Joined: Sat Jan 13, 2007 5:39 pm
Location: Belgium

oNDVL not using XPath 2.0 in ISO schematron

Post by PaulHermans » Fri Jun 13, 2008 9:55 am

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.
Paul

george
Site Admin
Posts: 2101
Joined: Thu Jan 09, 2003 2:58 pm

Re: oNDVL not using XPath 2.0 in ISO schematron

Post by george » Fri Jun 13, 2008 10:31 am

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
George Cristian Bina

PaulHermans
Posts: 82
Joined: Sat Jan 13, 2007 5:39 pm
Location: Belgium

Re: oNDVL not using XPath 2.0 in ISO schematron

Post by PaulHermans » Fri Jun 13, 2008 4:01 pm

Thanks for this update.


Paul
Paul

Post Reply