OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [ubl] Backward compatibility sanity check with 2010-05-12 18:48z document models


At 2010-05-15 10:21 -0400, I wrote:
>I finally found the time to finish the programmatic analytical 
>comparison of UBL 2.1 models with UBL 2.0 models as a sanity check

A new fault report is below.  I started working on the data type 
qualifications CVA file and I discovered that two data type 
qualifications in UBL 2.0 are missing in UBL 2.1.  One of these might 
be deliberate but the other looks like an oversight.

To recap, it is the obligation of PSC and TSC to indicate which UBL 
entities are validated by code lists in the XSLT delivered in the UBL 
distribution.  This is done by indicating in the "Data Type 
Qualifier" column the data type qualification for that particular 
BBIE.  I then generate all of the corresponding document contexts for 
XSLT matching in the second-pass validation.

Note that I am automatically doing the data type qualification 
implied by the use of the supplementary components.  What I cannot do 
automatically is infer which of the BBIEs are to be included in the 
distribution version of the data type qualification second-pass XSLT check.

If I go with the spreadsheets as they are today, then the UBL 2.1 
second-pass XSLT will not validate as many contexts of UBL 2.0 
documents as the UBL 2.0 second-pass XSLT.  Fixing the two missing 
ones will match UBL 2.0 (it is not a compatibility issue since it 
isn't normative) ... but are there other UBL 2.1 BBIEs (old or new) 
that need to have their data type qualified for distribution version 
of the second-pass XSLT validation?

Note that in an earlier TC meeting we decided we were not adding any 
new code lists to the UBL 2.1 distribution version of the second-pass 
XSLT validation ... but we do need to manage and decide which UBL 2.1 
entities participate in such validation.

One comment regarding "Status. Condition Code. Code" ... UBL 2.0 
assumed this status was transportation status and it was so 
qualified.  Perhaps it was a conscious decision to turn off 
second-pass XSLT validation in UBL 2.1 for this BBIE so as to make it 
more generic and not tied to only transportation.  In which case, it 
makes sense that the data type qualification has been removed in UBL 
2.1.  The same question is less likely for "Despatch Advice. Document 
Status Code. Code" because there are three other "Document Status" 
qualifications that remain in UBL 2.1 from UBL 2.0 (Bill of Lading, 
Forwarding Instructions and Receipt Advice) ... so I think this must 
be an oversight.

Please let me know if you have any questions.  And also if you can 
think of any other sanity checks to perform.

. . . . . . . . . Ken

Missing old DENs in new model: 3
Consignment. Transport_ Contract. Contract
Despatch Advice. Document Status Code. Code
Package. Goods Item


Missing old Data Type Qualifications in new model: 2
"Despatch Advice. Document Status Code. Code" old="Document Status" new=""
"Status. Condition Code. Code" old="Transportation Status" new=""


Cardinalities found in error: 5
"Catalogue Deletion. Effective Date. Date" old= 0 new= 1
"Consignment. Transport_ Contract. Contract" old= 0..1 new=
"Despatch Advice. Document Status Code. Code" old= 0..1 new=
"Package. Goods Item" old= 0..n new=
"Request For Quotation. Submission Due Date. Date" old= 0 new= 1


Sequences found in error: 3
"Consignment":
   Old order:
    1 Consignment. Details
    2 Consignment. Identifier
    3 Consignment. Summary_ Description. Text
    4 Consignment. Total_ Invoice Amount. Amount
    5 Consignment. Declared Customs_ Value. Amount
    6 Consignment. Tariff Description. Text
    7 Consignment. Tariff Code. Code
    8 Consignment. Insurance Premium Amount. Amount
    9 Consignment. Gross_ Weight. Measure
    10 Consignment. Net_ Weight. Measure
    11 Consignment. Net Net_ Weight. Measure
    12 Consignment. Chargeable_ Weight. Measure
    13 Consignment. Gross_ Volume. Measure
    14 Consignment. Net_ Volume. Measure
    15 Consignment. Loading_ Length. Measure
    16 Consignment. Remarks. Text
    17 Consignment. Hazardous Risk_ Indicator. Indicator
    18 Consignment. Consignee_ Party. Party
    19 Consignment. Exporter_ Party. Party
    20 Consignment. Consignor_ Party. Party
    21 Consignment. Importer_ Party. Party
    22 Consignment. Carrier_ Party. Party
    23 Consignment. Freight Forwarder_ Party. Party
    24 Consignment. Notify_ Party. Party
    25 Consignment. Original Despatch_ Party. Party
    26 Consignment. Final Delivery_ Party. Party
    27 Consignment. Original Departure_ Country. Country
    28 Consignment. Final Destination_ Country. Country
    29 Consignment. Transit_ Country. Country
   *30 Consignment. Transport_ Contract. Contract
   *31 Consignment. Original Despatch_ Transportation Service. 
Transportation Service
   *32 Consignment. Final Delivery_ Transportation Service. 
Transportation Service
   *33 Consignment. Delivery Terms
   *34 Consignment. Payment Terms
   *35 Consignment. Freight_ Allowance Charge. Allowance Charge

   New order (not including newly-introduced optional constructs):
    1 Consignment. Details
    2 Consignment. Identifier
    3 Consignment. Summary_ Description. Text
    4 Consignment. Total_ Invoice Amount. Amount
    5 Consignment. Declared Customs_ Value. Amount
    6 Consignment. Tariff Description. Text
    7 Consignment. Tariff Code. Code
    8 Consignment. Insurance Premium Amount. Amount
    9 Consignment. Gross_ Weight. Measure
    10 Consignment. Net_ Weight. Measure
    11 Consignment. Net Net_ Weight. Measure
    12 Consignment. Chargeable_ Weight. Measure
    13 Consignment. Gross_ Volume. Measure
    14 Consignment. Net_ Volume. Measure
    15 Consignment. Loading_ Length. Measure
    16 Consignment. Remarks. Text
    17 Consignment. Hazardous Risk_ Indicator. Indicator
    18 Consignment. Consignee_ Party. Party
    19 Consignment. Exporter_ Party. Party
    20 Consignment. Consignor_ Party. Party
    21 Consignment. Importer_ Party. Party
    22 Consignment. Carrier_ Party. Party
    23 Consignment. Freight Forwarder_ Party. Party
    24 Consignment. Notify_ Party. Party
    25 Consignment. Original Despatch_ Party. Party
    26 Consignment. Final Delivery_ Party. Party
    27 Consignment. Original Departure_ Country. Country
    28 Consignment. Final Destination_ Country. Country
    29 Consignment. Transit_ Country. Country
   *30 Consignment. Original Despatch_ Transportation Service. 
Transportation Service
   *31 Consignment. Final Delivery_ Transportation Service. 
Transportation Service
   *32 Consignment. Delivery Terms
   *33 Consignment. Payment Terms
   *34 Consignment. Freight_ Allowance Charge. Allowance Charge


"Despatch Advice":
   Old order:
    1 Despatch Advice. Details
    2 Despatch Advice. UBL Version Identifier. Identifier
    3 Despatch Advice. Customization Identifier. Identifier
    4 Despatch Advice. Profile Identifier. Identifier
    5 Despatch Advice. Identifier
    6 Despatch Advice. Copy_ Indicator. Indicator
    7 Despatch Advice. UUID. Identifier
    8 Despatch Advice. Issue Date. Date
    9 Despatch Advice. Issue Time. Time
   *10 Despatch Advice. Document Status Code. Code
   *11 Despatch Advice. Despatch Advice Type Code. Code
   *12 Despatch Advice. Note. Text
   *13 Despatch Advice. Line Count. Numeric
   *14 Despatch Advice. Order Reference
   *15 Despatch Advice. Additional_ Document Reference. Document Reference
   *16 Despatch Advice. Signature
   *17 Despatch Advice. Despatch_ Supplier Party. Supplier Party
   *18 Despatch Advice. Delivery_ Customer Party. Customer Party
   *19 Despatch Advice. Buyer_ Customer Party. Customer Party
   *20 Despatch Advice. Seller_ Supplier Party. Supplier Party
   *21 Despatch Advice. Originator_ Customer Party. Customer Party
   *22 Despatch Advice. Shipment
   *23 Despatch Advice. Despatch Line

   New order (not including newly-introduced optional constructs):
    1 Despatch Advice. Details
    2 Despatch Advice. UBL Version Identifier. Identifier
    3 Despatch Advice. Customization Identifier. Identifier
    4 Despatch Advice. Profile Identifier. Identifier
    5 Despatch Advice. Identifier
    6 Despatch Advice. Copy_ Indicator. Indicator
    7 Despatch Advice. UUID. Identifier
    8 Despatch Advice. Issue Date. Date
    9 Despatch Advice. Issue Time. Time
   *10 Despatch Advice. Despatch Advice Type Code. Code
   *11 Despatch Advice. Note. Text
   *12 Despatch Advice. Line Count. Numeric
   *13 Despatch Advice. Order Reference
   *14 Despatch Advice. Additional_ Document Reference. Document Reference
   *15 Despatch Advice. Signature
   *16 Despatch Advice. Despatch_ Supplier Party. Supplier Party
   *17 Despatch Advice. Delivery_ Customer Party. Customer Party
   *18 Despatch Advice. Buyer_ Customer Party. Customer Party
   *19 Despatch Advice. Seller_ Supplier Party. Supplier Party
   *20 Despatch Advice. Originator_ Customer Party. Customer Party
   *21 Despatch Advice. Shipment
   *22 Despatch Advice. Despatch Line


"Package":
   Old order:
    1 Package. Details
    2 Package. Identifier
    3 Package. Quantity
    4 Package. Returnable Material_ Indicator. Indicator
    5 Package. Package Level Code. Code
    6 Package. Packaging Type Code. Code
    7 Package. Packing Material. Text
    8 Package. Contained_ Package. Package
   *9 Package. Goods Item
   *10 Package. Measurement_ Dimension. Dimension
   *11 Package. Delivery Unit

   New order (not including newly-introduced optional constructs):
    1 Package. Details
    2 Package. Identifier
    3 Package. Quantity
    4 Package. Returnable Material_ Indicator. Indicator
    5 Package. Package Level Code. Code
    6 Package. Packaging Type Code. Code
    7 Package. Packing Material. Text
    8 Package. Contained_ Package. Package
   *9 Package. Measurement_ Dimension. Dimension
   *10 Package. Delivery Unit


--
XSLT/XQuery training:   after http://XMLPrague.cz 2011-03-28/04-01
Vote for your XML training:   http://www.CraneSoftwrights.com/o/i/
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/o/
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/o/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]