Skip to content

v1.4.4

Choose a tag to compare

@github-actions github-actions released this 09 Nov 20:24
· 27 commits to main since this release
  • Fixed header reference element order. buildXml emitted
    input.references in input order, so an order reference listed before a
    seller-order (or contract) reference produced XML that failed XSD
    validation. References are now emitted in the CII sequence (SellerOrder →
    BuyerOrder → Contract → SpecifiedProcuringProject); input order is only
    kept among references of the same type. Reported by @SCPAU100 (#23).
  • Fixed project references failing XSD validation. SpecifiedProcuringProject
    requires a ram:Name child that was never emitted. A new optional name
    field on DocumentReferenceInput fills it, defaulting to "Project".
  • validateInput rejects duplicate single-occurrence references. The
    schema allows order, contract, seller-order, project and despatch
    references at most once each, and delivery.despatchAdviceReference and a
    despatch reference target the same element. Both cases used to surface
    only as an XSD error after building.