[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [ubl-dev] Error in xml/UBL-ProductActivity-2.1-Example-1.xml
It makes sense to update the example for the next release. Thank you for pointing it out.
. . . . . Ken At 2019-07-18 11:44 +0000, David Goodenough wrote:
<?xml version="1.0" encoding="UTF-8"?><ProductActivity xmlns="urn:oasis:names:specification:ubl:schema:xsd:ProductActivity-2"xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"> <cbc:UBLVersionID>2.1</cbc:UBLVersionID> <cbc:ProfileID>bpid:urn:oasis:names:draft:bpss:ubl-2-1-cpfr-product-activity-draft</cbc:ProfileID> <cbc:ID>PA_758494</cbc:ID> <cbc:CopyIndicator>false</cbc:CopyIndicator> <cbc:UUID>349ABBAE-DF9D-40B4-849F-94C5FF9D1AF4</cbc:UUID> <cbc:IssueDate>2005-01-10</cbc:IssueDate> <cbc:IssueTime>12:00:01.000</cbc:IssueTime> <cbc:Note>sample Document</cbc:Note> <cac:ActivityPeriod> <cbc:StartDate>2005-02-26</cbc:StartDate> <cbc:EndDate>2005-12-26</cbc:EndDate> </cac:ActivityPeriod> ... ... <cac:SupplyChainActivityDataLine> <cbc:ID>SCADL_SHIPMENT001</cbc:ID> ... <cac:ActivityOriginLocation> <cbc:ID/> </cac:ActivityOriginLocation> .... </cac:SupplyChainActivityDataLine> </ProductActivity>The ID in the ActivityOriginLocation (line 109 in the original file) is empty, but the ID tag is specified, surely this is invalid in UBL and therefore fails schema checks.David
-- Contact info, blog, articles, etc. http://www.CraneSoftwrights.com/u/ | Check our site for free XML, XSLT, XSL-FO and UBL developer resources | Streaming hands-on XSLT/XPath 2 training class @ US$45 (5 hours free) |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]