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

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-dev message

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


Subject: Error in xml/UBL-ProductActivity-2.1-Example-1.xml


<?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



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