-
Hi Lab both fields are always defined mandatory : If both are present why this contradicts the rule ? Here the xml : <?xml version="1.0" encoding="UTF-8"?>
<ContractNotice xmlns="urn:oasis:names:specification:ubl:schema:xsd:ContractNotice-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:efac="http://data.europa.eu/p27/eforms-ubl-extension-aggregate-components/1" xmlns:efbc="http://data.europa.eu/p27/eforms-ubl-extension-basic-components/1" xmlns:efext="http://data.europa.eu/p27/eforms-ubl-extensions/1" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2">
<ext:UBLExtensions>
<ext:UBLExtension>
<ext:ExtensionContent>
<efext:EformsExtension>
<efac:NoticeSubType>
<cbc:SubTypeCode listName="notice-subtype">17</cbc:SubTypeCode>
</efac:NoticeSubType>
<efac:Organizations>
<efac:Organization>
<efac:Company>
<cac:PartyIdentification>
<cbc:ID schemeName="organization">ORG-0001</cbc:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name languageID="ENG">BUYER ORG</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:CityName>PISA</cbc:CityName>
<cac:Country>
<cbc:IdentificationCode listName="country">AUT</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyLegalEntity>
<cbc:CompanyID>1</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:Telephone>0923343434</cbc:Telephone>
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</efac:Company>
<efac:TouchPoint>
<cac:PartyIdentification>
<cbc:ID schemeName="touchpoint">TPO-0001</cbc:ID>
</cac:PartyIdentification>
</efac:TouchPoint>
</efac:Organization>
</efac:Organizations>
</efext:EformsExtension>
</ext:ExtensionContent>
</ext:UBLExtension>
</ext:UBLExtensions>
<cbc:UBLVersionID>2.3</cbc:UBLVersionID>
<cbc:CustomizationID>eforms-sdk-1.7</cbc:CustomizationID>
<cbc:ID schemeName="notice-id">bf101b80-6ca7-4a50-9ecf-df7bee4c3358</cbc:ID>
<cbc:ContractFolderID>a45dec28-85e0-4edf-994a-a487b414a47d</cbc:ContractFolderID>
<cbc:IssueDate>2023-07-11+02:00</cbc:IssueDate>
<cbc:IssueTime>11:20:39+02:00</cbc:IssueTime>
<cbc:VersionID>01</cbc:VersionID>
<cbc:RegulatoryDomain>31985R2137</cbc:RegulatoryDomain>
<cbc:NoticeTypeCode listName="competition">cn-standard</cbc:NoticeTypeCode>
<cbc:NoticeLanguageCode listName="language">ENG</cbc:NoticeLanguageCode>
<cac:ContractingParty>
<cac:ContractingPartyType>
<cbc:PartyTypeCode listName="buyer-legal-type">body-pl-cga</cbc:PartyTypeCode>
</cac:ContractingPartyType>
<cac:ContractingActivity>
<cbc:ActivityTypeCode listName="authority-activity">env-pro</cbc:ActivityTypeCode>
</cac:ContractingActivity>
<cac:ContractingActivity>
<cbc:ActivityTypeCode listName="entity-activity">gas-oil</cbc:ActivityTypeCode>
</cac:ContractingActivity>
<cac:Party>
<cac:PartyIdentification>
<cbc:ID schemeName="organization">ORG-0001</cbc:ID>
</cac:PartyIdentification>
</cac:Party>
</cac:ContractingParty>
<cac:TenderingProcess>
<cbc:ProcedureCode listName="procurement-procedure-type">open</cbc:ProcedureCode>
</cac:TenderingProcess>
<cac:ProcurementProject>
<cbc:Name languageID="ENG">TITOLO DELLA PROCEDURA</cbc:Name>
<cbc:Description languageID="ENG">DECRIZIONE DELLA PROCEDURA</cbc:Description>
<cbc:ProcurementTypeCode listName="contract-nature">supplies</cbc:ProcurementTypeCode>
<cac:RequestedTenderTotal>
<ext:UBLExtensions>
<ext:UBLExtension>
<ext:ExtensionContent>
<efext:EformsExtension>
<efbc:FrameworkMaximumAmount currencyID="EUR">500</efbc:FrameworkMaximumAmount>
</efext:EformsExtension>
</ext:ExtensionContent>
</ext:UBLExtension>
</ext:UBLExtensions>
<cbc:EstimatedOverallContractAmount currencyID="EUR">1000</cbc:EstimatedOverallContractAmount>
</cac:RequestedTenderTotal>
<cac:MainCommodityClassification>
<cbc:ItemClassificationCode listName="cpv">03111000</cbc:ItemClassificationCode>
</cac:MainCommodityClassification>
<cac:AdditionalCommodityClassification>
<cbc:ItemClassificationCode listName="cpv">03117110</cbc:ItemClassificationCode>
</cac:AdditionalCommodityClassification>
</cac:ProcurementProject>
<cac:ProcurementProjectLot>
<cbc:ID schemeName="Lot">LOT-0001</cbc:ID>
<cac:TenderingTerms>
<ext:UBLExtensions>
<ext:UBLExtension>
<ext:ExtensionContent>
<efext:EformsExtension>
<efac:SelectionCriteria>
<cbc:CriterionTypeCode listName="selection-criterion">ef-stand</cbc:CriterionTypeCode>
</efac:SelectionCriteria>
<efac:SelectionCriteria>
<cbc:CriterionTypeCode listName="selection-criterion">sui-act</cbc:CriterionTypeCode>
</efac:SelectionCriteria>
<efac:SelectionCriteria>
<cbc:CriterionTypeCode listName="selection-criterion">tp-abil</cbc:CriterionTypeCode>
</efac:SelectionCriteria>
</efext:EformsExtension>
</ext:ExtensionContent>
</ext:UBLExtension>
</ext:UBLExtensions>
<cac:RequiredFinancialGuarantee>
<cbc:GuaranteeTypeCode listName="tender-guarantee-required">false</cbc:GuaranteeTypeCode>
</cac:RequiredFinancialGuarantee>
<cac:CallForTendersDocumentReference>
<cbc:ID>INFO_ID</cbc:ID>
<cbc:DocumentType>restricted-document</cbc:DocumentType>
<cac:Attachment>
<cac:ExternalReference>
<cbc:URI>http://notRestrict.com</cbc:URI>
</cac:ExternalReference>
</cac:Attachment>
</cac:CallForTendersDocumentReference>
<cac:PaymentTerms>
<cbc:Note languageID="ENG">CI VEDIAMO AL BAR DI SOTTO</cbc:Note>
</cac:PaymentTerms>
<cac:TendererQualificationRequest>
<cbc:CompanyLegalFormCode listName="required">true</cbc:CompanyLegalFormCode>
</cac:TendererQualificationRequest>
<cac:TendererQualificationRequest>
<cac:SpecificTendererRequirement>
<cbc:TendererRequirementTypeCode listName="reserved-procurement">res-ws</cbc:TendererRequirementTypeCode>
</cac:SpecificTendererRequirement>
</cac:TendererQualificationRequest>
<cac:ContractExecutionRequirement>
<cbc:Description languageID="ENG">LET EVERYONE BE FULLY SATISFIED</cbc:Description>
</cac:ContractExecutionRequirement>
<cac:ContractExecutionRequirement>
<cbc:ExecutionRequirementCode listName="reserved-execution">not-known</cbc:ExecutionRequirementCode>
</cac:ContractExecutionRequirement>
<cac:ContractExecutionRequirement>
<cbc:ExecutionRequirementCode listName="conditions">performance</cbc:ExecutionRequirementCode>
</cac:ContractExecutionRequirement>
<cac:ContractExecutionRequirement>
<cbc:ExecutionRequirementCode listName="ecatalog-submission">not-allowed</cbc:ExecutionRequirementCode>
</cac:ContractExecutionRequirement>
<cac:AdditionalInformationParty>
<cac:PartyIdentification>
<cbc:ID schemeName="touchpoint">TPO-0001</cbc:ID>
</cac:PartyIdentification>
</cac:AdditionalInformationParty>
<cac:AppealTerms>
<cac:AppealReceiverParty>
<cac:PartyIdentification>
<cbc:ID schemeName="touchpoint">TPO-0001</cbc:ID>
</cac:PartyIdentification>
</cac:AppealReceiverParty>
</cac:AppealTerms>
<cac:Language>
<cbc:ID>ENG</cbc:ID>
</cac:Language>
</cac:TenderingTerms>
<cac:TenderingProcess>
<cbc:SubmissionMethodCode listName="esubmission">allowed</cbc:SubmissionMethodCode>
<cbc:GovernmentAgreementConstraintIndicator>true</cbc:GovernmentAgreementConstraintIndicator>
<cac:TenderSubmissionDeadlinePeriod>
<cbc:EndDate>2023-07-28+02:00</cbc:EndDate>
<cbc:EndTime>11:55:39+02:00</cbc:EndTime>
</cac:TenderSubmissionDeadlinePeriod>
<cac:ParticipationRequestReceptionPeriod>
<cbc:EndDate>2023-07-27+02:00</cbc:EndDate>
<cbc:EndTime>12:56:39+02:00</cbc:EndTime>
</cac:ParticipationRequestReceptionPeriod>
<cac:OpenTenderEvent>
<cbc:OccurrenceDate>2023-07-25+02:00</cbc:OccurrenceDate>
<cbc:OccurrenceTime>11:00:39+02:00</cbc:OccurrenceTime>
</cac:OpenTenderEvent>
<cac:AuctionTerms>
<cbc:AuctionConstraintIndicator>true</cbc:AuctionConstraintIndicator>
</cac:AuctionTerms>
<cac:ContractingSystem>
<cbc:ContractingSystemTypeCode listName="framework-agreement">fa-w-rc</cbc:ContractingSystemTypeCode>
</cac:ContractingSystem>
<cac:ContractingSystem>
<cbc:ContractingSystemTypeCode listName="dps-usage">dps-list</cbc:ContractingSystemTypeCode>
</cac:ContractingSystem>
</cac:TenderingProcess>
<cac:ProcurementProject>
<cbc:ID>FERDI_FRESCO</cbc:ID>
<cbc:Name languageID="ENG">TITOLO DEL LOTTO</cbc:Name>
<cbc:Description languageID="ENG">DESCRIZIONE DEL LOTTO</cbc:Description>
<cbc:ProcurementTypeCode listName="contract-nature">services</cbc:ProcurementTypeCode>
<cac:MainCommodityClassification>
<cbc:ItemClassificationCode listName="cpv">50112100</cbc:ItemClassificationCode>
</cac:MainCommodityClassification>
<cac:ContractExtension>
<cbc:MaximumNumberNumeric>12</cbc:MaximumNumberNumeric>
</cac:ContractExtension>
</cac:ProcurementProject>
</cac:ProcurementProjectLot>
</ContractNotice> Thanks and Regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi,
while both (BT-70 and OPT-060) appear in different parents in the provided XML, thus not providing the required semantic to understand what the cbc:description is about (is it BT-70?). |
Beta Was this translation helpful? Give feedback.
-
The editor demo is not handling the attributes found in the xpath predicates unless they are directly on the field. |
Beta Was this translation helpful? Give feedback.
The editor demo is not handling the attributes found in the xpath predicates unless they are directly on the field.
Note that the editor demo project is a bonus effort that we try to maintain on the side.
It is open source so you could suggest a patch for this case (around line 492 in PhysicalModel.java) but I think fixing this problem in XML generation will be much easier once 1.9 comes out as it has information about attributes outside of xpath, which means no need to parse xpath and no need to carry over the attribute info from the parent node to the child.
There is a ticket about using SDK 1.9 attribute information which I will probably look into after 1.9.