Hi!
Using BaseX77-20130417.002917 though I don't think that's relevant to the question.
This may well be an inherent property of the library being used to do validation, but right now, when I use validate:xsd-info, I get error messages that look like:
Error: 25:59: cvc-complex-type.2.4.a: Invalid content was found starting with element 'link'. One of '{bold, footnote, italic, superscript}' is expected.
These identify the location of the error by line and column number, which is great for code and less than helpful for XML content, since any format-and-indent getting applied to the XML file destroys its usefulness.
Is is possible to have the error return a node identifier of some kind, instead?
/root/bucket[2]/block[4]/para[3]/emphasis[4]
sort of thing?
Thanks! Graydon
Hi Graydon,
as you already guessed, we are using standard Java libraries to validate XML nodes, which is why we are limited when it comes to presenting feedback. However, we’ll keep your sugestion in mind; it may get relevant if we should decide to write our own validation code.
Best, Christian
Using BaseX77-20130417.002917 though I don't think that's relevant to the question.
This may well be an inherent property of the library being used to do validation, but right now, when I use validate:xsd-info, I get error messages that look like:
Error: 25:59: cvc-complex-type.2.4.a: Invalid content was found starting with element 'link'. One of '{bold, footnote, italic, superscript}' is expected.
These identify the location of the error by line and column number, which is great for code and less than helpful for XML content, since any format-and-indent getting applied to the XML file destroys its usefulness.
Is is possible to have the error return a node identifier of some kind, instead?
/root/bucket[2]/block[4]/para[3]/emphasis[4]
sort of thing?
Thanks! Graydon
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de