31 Jul
2016
31 Jul
'16
10:53 p.m.
Hi Chahd, The functions in the Validation Module are not restricted to database resources. By default, if you specify a relative file path, it refers to your local file system.
How can I write the paths of the resources properly in a query?
Here is one way to do it: let $xml := db:open('MyFirstBase', 'test.xml') let $xsd := db:open('MyFirstBase', 'test.xsd') return validate:xsd($xml, $xsd) Cheers Christian
I am using the Database Administration interface. I created a base named "MyFirstBase" and I add 2 resources (test.xml and test.xsd). validate:xsd('test.xml', 'test.xsd') but I have a [FODC0002] Resource 'test.xml' does not exist. Thank you