Hello, I tried to use xsd-info() to validate using a schema 1.1. However, I got the following error: Fatal:s4s-elt-invalid-content.1: The content of '#AnonType_reporte' is invalid. Element 'assert' is invalid, misplaced, or occurs too often. According to the validation module documentation, said module uses "Java’s standard validators". Does this refer to Xerces? If not, is there a way to call Xerces to perform validation from BaseX? Or maybe any other way to validate with 1.1?
Thank you. Alex
Hi Alex,
A little search tells me that XSD 1.1 may need to be explicitly activated [1]. Could you please provide us with a little SSCCE that we can use for testing?
Thanks, Christian
[1] https://duckduckgo.com/?q=Java+XSD+1.1&ia=qa
On Sat, Feb 7, 2015 at 4:22 AM, Alex R. Loayza logal3@yahoo.com wrote:
Hello,
I tried to use xsd-info() to validate using a schema 1.1. However, I got the following error:
Fatal:s4s-elt-invalid-content.1: The content of '#AnonType_reporte' is invalid. Element 'assert' is invalid, misplaced, or occurs too often.
According to the validation module documentation, said module uses "Java’s standard validators". Does this refer to Xerces? If not, is there a way to call Xerces to perform validation from BaseX? Or maybe any other way to validate with 1.1?
Thank you.
Alex
basex-talk@mailman.uni-konstanz.de