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

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-tsc message

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


Subject: Re: [ubl-tsc] Issue regarding UBL PRD2 transport examples


At 2011-04-16 19:40 +0000, amschoka@comcast.net wrote:
>I attach the latest transport examples I  have received from Audun 
>earlier this week. Sorry for the delay. I am just finishing a week 
>of TC204 meetings in Prague. Hope these work out.

I renamed the list of files to the following ... would you please do the same?

UBL-GoodsItemItinerary-2.1-Example.xml
UBL-TransportExecutionPlan-2.1-Example.xml
UBL-TransportExecutionStatus-2.1-Example.xml
UBL-TransportProgressStatus-2.1-Example.xml
UBL-TransportServiceDescription-2.1-Example.xml

And I deleted the old UBL-TransportOperationStatus-2.1-Example.xml.

My validation error report included a report on 
UBL-ExceptionNotification-2.1-Example.xml:

   http://lists.oasis-open.org/archives/ubl/201104/msg00013.html

... which hasn't been addressed.  Is that document under the purview of TSC?

Relevant excerpts from the new list of errors is below.  The Waybill 
should be fixed when TransportContract is fixed.  The 
TransportationExecutionStatus problem is a namespace issue (there is 
a string "-Subset" in the instance's namespace).

The xsi: declarations in the document element of every example are 
irrelevant to the distribution and leaving them in there forces me to 
remove them in my process.

I hope this helps.

. . . . . . . . . Ken


############################################################
Validating ../xml/UBL-ExceptionNotification-2.1-Example.xml
############################################################
============== Phase 1: XSD schema validation ==============
Attempting validating, namespace-aware parse
Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-ExceptionNotification-2.1-Example.xml:118:21:cvc-complex-type.2.4.a: 
Invalid content was found starting with element 'cbc:PurposeCode'. 
One of 
'{"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":ForecastPurposeCode}' 
is expected.
Parse succeeded (0.681) with 1 error and no warnings.

############################################################
Validating ../xml/UBL-GoodsItemItinerary-2.1-Example.xml
############################################################
============== Phase 1: XSD schema validation ==============
Attempting validating, namespace-aware parse
Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-GoodsItemItinerary-2.1-Example.xml:3:11:cvc-complex-type.2.4.a: 
Invalid content was found starting with element 'dcbc:ID'. One of 
'{"urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2":UBLExtensions, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":UBLVersionID, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":CustomizationID, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":ProfileID, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":ProfileExecutionID, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":ID, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":CopyIndicator, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":UUID, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":IssueDate, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":IssueTime, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":Note, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":VersionID}' 
is expected.
Parse succeeded (0.834) with 1 error and no warnings.

############################################################
Validating ../xml/UBL-TransportExecutionPlan-2.1-Example.xml
############################################################
============== Phase 1: XSD schema validation ==============
Attempting validating, namespace-aware parse
Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportExecutionPlan-2.1-Example.xml:3:11:cvc-complex-type.2.4.a: 
Invalid content was found starting with element 'acbc:ID'. One of 
'{"urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2":UBLExtensions, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":UBLVersionID, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":CustomizationID, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":ProfileID, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":ProfileExecutionID, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":ID}' 
is expected.
Parse succeeded (0.697) with 1 error and no warnings.

############################################################
Validating ../xml/UBL-TransportExecutionStatus-2.1-Example.xml
############################################################
============== Phase 1: XSD schema validation ==============
Attempting validating, namespace-aware parse
Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportExecutionStatus-2.1-Example.xml:2:643:cvc-elt.1: 
Cannot find the declaration of element 'TransportExecutionStatus'.
Parse succeeded (0.108) with 1 error and no warnings.

############################################################
Validating ../xml/UBL-TransportProgressStatus-2.1-Example.xml
############################################################
============== Phase 1: XSD schema validation ==============
Attempting validating, namespace-aware parse
Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportProgressStatus-2.1-Example.xml:3:11:cvc-complex-type.2.4.a: 
Invalid content was found starting with element 'ccbc:ID'. One of 
'{"urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2":UBLExtensions, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":UBLVersionID, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":CustomizationID, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":ProfileID, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":ProfileExecutionID, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":ID}' 
is expected.
Parse succeeded (0.673) with 1 error and no warnings.

############################################################
Validating ../xml/UBL-TransportServiceDescription-2.1-Example.xml
############################################################
============== Phase 1: XSD schema validation ==============
Attempting validating, namespace-aware parse
Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportServiceDescription-2.1-Example.xml:3:11:cvc-complex-type.2.4.a: 
Invalid content was found starting with element 'ecbc:ID'. One of 
'{"urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2":UBLExtensions, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":UBLVersionID, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":CustomizationID, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":ProfileID, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":ProfileExecutionID, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":ID, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":CopyIndicator, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":UUID, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":IssueDate, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":IssueTime, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":Note, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":ServiceName, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":Signature, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":SenderParty, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ReceiverParty, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":TransportServiceProviderParty}' 
is expected.
Parse succeeded (0.666) with 1 error and no warnings.

############################################################
Validating ../xml/UBL-Waybill-2.0-Example-International.xml
############################################################
============== Phase 1: XSD schema validation ==============
Attempting validating, namespace-aware parse
Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-Waybill-2.0-Example-International.xml:168:13:cvc-complex-type.2.4.a: 
Invalid content was found starting with element 'cbc:ID'. One of 
'{"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":NominationDate, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":NominationTime, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":Note, 
"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":Contract}' 
is expected.
Parse succeeded (0.784) with 1 error and no warnings.


--
Contact us for world-wide XML consulting & instructor-led training
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/o/
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal



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