Skip to content

OPT-140-LOT difference between SDK and XSD #292

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

You must be logged in to vote

Hi,
Schema and Schematron validations are complementary. Validation is a multi step process starting with lexical validation (XSD).
According to the XSD, as soon has you have //cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cac:TenderingTerms/cac:CallForTendersDocumentReference in the XML instance, the element cbc:ID is required; when //cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cac:TenderingTerms/cac:CallForTendersDocumentReference is not present, then its child cbc:ID is not allowed.
Presence of references to call for tender documents is related to the presence of cac:CallForTendersDocumentReference (hence of cac:CallForTendersDocumentReference/cbc:ID in the /*/cac:Procure…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by YvesJo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
schematrons Related to the Schematron validation (/schematrons SDK folder) schemas Related to eForms Schemas (/schemas SDK folder).
2 participants