Lexical Validation vs Schematron Validation #851
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
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…