Skip to content

Lexical Validation vs Schematron Validation #851

Answered by YvesJo
luispozoWS asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
All the CVS applied controls are in the shared SDK, so if it was deliberately decided not to implement some existing controls, some errors could be detected lately.
The lexical validation is about conformance to the XSD to ensure that the correct elements are used at the correct place. If the this is not verified, then the schematron rules, which are XPATH based, could lead to an unexpected behavior. The XSD is relatively permissive and it is important to make sure that the application is generating an XSD conform XML, else the user would face an XPATH based, hence non-user friendly, message. The challenge may exist with some identifiers which are mandated by the schema and should the…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by luispozoWS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
validation Related to notice validation.
2 participants