Hi,
I would like to use xerces2 for schema-validation. See attached file, but I can't get it activated from within BaseX.
I've read the chapter on validation [1] and followed the instructions : copying the 4 files to the library.
I can see that these 4 file are part of the -cp option when calling java.
But the use of assert-element while validating gives an error:
Stopped at L:/Program Files/BaseX/demo-xsd-validation.xq, 1/14:
[bxerr:BXVA0001] Validation failed: file:/C:/Users/Rob/AppData/Local/Temp/BaseX-375999151462208291.tmp, 6:33: s4s-elt-invalid-content.1: The content of '#AnonType_assert-demo' is invalid. Element 'assert' is invalid, misplaced, or occurs too often.
[1] http://docs.basex.org/wiki/Validation_Module#XML_Schema_Validation
What am I doing wrong?
TIA for your response,
Rob
PS I'm using the latest or one of the latest snapshot and java 1.8 runtime on a windows-Vista machine