OPT-140-LOT difference between SDK and XSD #292
-
Hello, I am generation a notice with type 16. Is that a Bug? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, |
Beta Was this translation helpful? Give feedback.
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…