UBL Transportation SC

 View Only
  • 1.  Re: [ubl-tsc] Issue regarding UBL PRD2 transport examples

    Posted 04-19-2011 15:44
    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


  • 2.  Re: [ubl-tsc] Issue regarding UBL PRD2 transport examples

    Posted 04-19-2011 16:16
    In fact the instances were all including non-standard namespaces and unconventional namespace prefixes (compared to the rest of the distribution). Those examples were not nearly ready to go into the distribution. I manually modified the use of namespaces and conventional prefixes and some of the errors are different. The report is below is far different for the five new instances. I've attached a ZIP the repaired instances ... please repair these because I don't want to have to go through the process again of hacking the instances by hand. . . . . . . . . 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.752) 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:21:35:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbc:TransportMeansTypeCodeCode'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":TransportMeansTypeCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":TransportationService}' is expected. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-GoodsItemItinerary-2.1-Example.xml:44:29:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbc:LocationCategoryCode'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":Description, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":Conditions, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":CountrySubentity, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":CountrySubentityCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LocationTypeCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":InformationURI, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ValidityPeriod, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":Address, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":SubsidiaryLocation, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":LocationCoordinate}' is expected. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-GoodsItemItinerary-2.1-Example.xml:51:29:cvc-complex-type.2.4.d: Invalid content was found starting with element 'cbc:IdentificationCode'. No child element is expected at this point. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-GoodsItemItinerary-2.1-Example.xml:56:47:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbc:LatitudeDegreesMeasure'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LongitudeDegreesMeasure, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LongitudeMinutesMeasure, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LongitudeDirectionCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":AltitudeMeasure}' is expected. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-GoodsItemItinerary-2.1-Example.xml:64:32:cvc-complex-type.2.4.d: Invalid content was found starting with element 'cac:PlannedDeparturePeriod'. No child element is expected at this point. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-GoodsItemItinerary-2.1-Example.xml:75:30:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbc:LocationCategoryCode'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":Conditions, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":CountrySubentity, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":CountrySubentityCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LocationTypeCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":InformationURI, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ValidityPeriod, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":Address, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":SubsidiaryLocation, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":LocationCoordinate}' is expected. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-GoodsItemItinerary-2.1-Example.xml:81:30:cvc-complex-type.2.4.d: Invalid content was found starting with element 'cbc:IdentificationCode'. No child element is expected at this point. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-GoodsItemItinerary-2.1-Example.xml:86:48:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbc:LatitudeDegreesMeasure'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LongitudeDegreesMeasure, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LongitudeMinutesMeasure, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LongitudeDirectionCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":AltitudeMeasure}' is expected. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-GoodsItemItinerary-2.1-Example.xml:94:30:cvc-complex-type.2.4.d: Invalid content was found starting with element 'cac:PlannedArrivalPeriod'. No child element is expected at this point. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-GoodsItemItinerary-2.1-Example.xml:106:35:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbc:TransportMeansTypeCodeCode'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":TransportMeansTypeCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":TransportationService}' is expected. Parse succeeded (0.694) with 36 errors 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:4:22:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbc:SequenceNumber'. One of '{"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":TransportUserRemarks, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":TransportServiceProviderRemarks, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":SequenceNumberID, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":TransportServiceProviderReadyForExecutionIndicator, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":TransportUserReadyForExecutionIndicator, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":TransportServiceProviderCompletionIndicator, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":TransportUserCompletionIndicator, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":TransportServiceProviderCancellationIndicator, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":TransportUserCancellationIndicator, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":TransportServiceDescriptionDocumentReference, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":AdditionalDocumentReference, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ShipmentDocumentReference, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":Signature, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":TransportServiceProviderParty}' is expected. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportExecutionPlan-2.1-Example.xml:21:28:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cac:PartyIdentification'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":PartyName, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":Language, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":PostalAddress, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":PhysicalLocation, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":PartyTaxScheme, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":PartyLegalEntity, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":Contact, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":Person, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":AgentParty, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ServiceProviderParty, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":PowerOfAttorney, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":FinancialAccount}' is expected. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportExecutionPlan-2.1-Example.xml:30:29:cvc-complex-type.2.4.d: Invalid content was found starting with element 'cbc:IdentificationCode'. No child element is expected at this point. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportExecutionPlan-2.1-Example.xml:47:28:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cac:PartyIdentification'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":PartyName, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":Language, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":PostalAddress, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":PhysicalLocation, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":PartyTaxScheme, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":PartyLegalEntity, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":Contact, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":Person, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":AgentParty, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ServiceProviderParty, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":PowerOfAttorney, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":FinancialAccount}' is expected. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportExecutionPlan-2.1-Example.xml:57:29:cvc-complex-type.2.4.d: Invalid content was found starting with element 'cbc:IdentificationCode'. No child element is expected at this point. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportExecutionPlan-2.1-Example.xml:68:29:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbc:LocationCategoryCode'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":Description, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":Conditions, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":CountrySubentity, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":CountrySubentityCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LocationTypeCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":InformationURI, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ValidityPeriod, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":Address, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":SubsidiaryLocation, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":LocationCoordinate}' is expected. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportExecutionPlan-2.1-Example.xml:75:29:cvc-complex-type.2.4.d: Invalid content was found starting with element 'cbc:IdentificationCode'. No child element is expected at this point. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportExecutionPlan-2.1-Example.xml:80:47:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbc:LatitudeDegreesMeasure'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LongitudeDegreesMeasure, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LongitudeMinutesMeasure, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LongitudeDirectionCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":AltitudeMeasure}' is expected. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportExecutionPlan-2.1-Example.xml:90:29:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbc:LocationCategoryCode'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":Description, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":Conditions, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":CountrySubentity, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":CountrySubentityCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LocationTypeCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":InformationURI, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ValidityPeriod, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":Address, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":SubsidiaryLocation, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":LocationCoordinate}' is expected. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportExecutionPlan-2.1-Example.xml:96:29:cvc-complex-type.2.4.d: Invalid content was found starting with element 'cbc:IdentificationCode'. No child element is expected at this point. Parse succeeded (0.707) with 59 errors 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:7:19:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbc:Description'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":TransportExecutionPlanReferenceID}' is expected. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportExecutionStatus-2.1-Example.xml:15:30:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbc:LocationCategoryCode'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":Conditions, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":CountrySubentity, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":CountrySubentityCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LocationTypeCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":InformationURI, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ValidityPeriod, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":Address, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":SubsidiaryLocation, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":LocationCoordinate}' is expected. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportExecutionStatus-2.1-Example.xml:24:30:cvc-complex-type.2.4.d: Invalid content was found starting with element 'cbc:IdentificationCode'. No child element is expected at this point. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportExecutionStatus-2.1-Example.xml:29:48:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbc:LatitudeDegreesMeasure'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LongitudeDegreesMeasure, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LongitudeMinutesMeasure, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LongitudeDirectionCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":AltitudeMeasure}' is expected. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportExecutionStatus-2.1-Example.xml:37:24:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cac:UpdatedDelivery'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ReferencedTransportHandlingUnit}' is expected. Parse succeeded (0.682) with 5 errors 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:20:25:cvc-complex-type.2.4.d: Invalid content was found starting with element 'cac:TransportSchedule'. No child element is expected at this point. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportProgressStatus-2.1-Example.xml:28:30:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbc:LocationCategoryCode'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":Conditions, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":CountrySubentity, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":CountrySubentityCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LocationTypeCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":InformationURI, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ValidityPeriod, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":Address, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":SubsidiaryLocation, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":LocationCoordinate}' is expected. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportProgressStatus-2.1-Example.xml:37:30:cvc-complex-type.2.4.d: Invalid content was found starting with element 'cbc:IdentificationCode'. No child element is expected at this point. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportProgressStatus-2.1-Example.xml:42:48:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbc:LatitudeDegreesMeasure'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LongitudeDegreesMeasure, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LongitudeMinutesMeasure, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LongitudeDirectionCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":AltitudeMeasure}' is expected. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportProgressStatus-2.1-Example.xml:56:29:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cac:PlannedArrivalPeriod'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":EstimatedDeparturePeriod, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ActualArrivalTransportEvent, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ActualDepartureTransportEvent}' is expected. Parse succeeded (0.678) with 5 errors 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:4:12:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbc:Name'. One of '{"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. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportServiceDescription-2.1-Example.xml:10:28:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cac:PartyIdentification'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":PartyName, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":Language, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":PostalAddress, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":PhysicalLocation, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":PartyTaxScheme, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":PartyLegalEntity, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":Contact, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":Person, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":AgentParty, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ServiceProviderParty, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":PowerOfAttorney, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":FinancialAccount}' is expected. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportServiceDescription-2.1-Example.xml:21:29:cvc-complex-type.2.4.d: Invalid content was found starting with element 'cbc:IdentificationCode'. No child element is expected at this point. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportServiceDescription-2.1-Example.xml:34:30:cvc-complex-type.2.4.d: Invalid content was found starting with element 'cbc:IdentificationCode'. No child element is expected at this point. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportServiceDescription-2.1-Example.xml:39:48:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbc:LatitudeDegreesMeasure'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LongitudeDegreesMeasure, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LongitudeMinutesMeasure, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":LongitudeDirectionCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":AltitudeMeasure}' is expected. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportServiceDescription-2.1-Example.xml:69:23:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbc:InformationURI'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":Note, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":ReferenceEventCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":SettlementDiscountPercent, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":PenaltySurchargePercent, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":PaymentPercent, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":Amount, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":SettlementDiscountAmount, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":PenaltyAmount, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":PaymentTermsDetailsURI, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":PaymentDueDate, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":InstallmentDueDate, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":InvoicingPartyReference, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":SettlementPeriod, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":PenaltyPeriod, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ExchangeRate, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ValidityPeriod}' is expected. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportServiceDescription-2.1-Example.xml:73:20:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbc:Description'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":TariffClassCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":Priority, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":FreightRateClassCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":TransportationServiceDescription, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":TransportationServiceDetailsURI, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":NominationDate, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":NominationTime}' is expected. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportServiceDescription-2.1-Example.xml:99:31:cvc-complex-type.2.4.d: Invalid content was found starting with element 'cbc:IdentificationCode'. No child element is expected at this point. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportServiceDescription-2.1-Example.xml:157:13:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbc:Name'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":TariffClassCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":Priority, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":FreightRateClassCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":TransportationServiceDescription, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":TransportationServiceDetailsURI, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":NominationDate, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":NominationTime}' is expected. Error:file:///Users/admin/u/UBL/UBL2.1/UBL-SGTG-junk/xml/UBL-TransportServiceDescription-2.1-Example.xml:164:20:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cbc:Description'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":TariffClassCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":Priority, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":FreightRateClassCode, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":TransportationServiceDescription, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":TransportationServiceDetailsURI, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":NominationDate, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":NominationTime}' is expected. Parse succeeded (0.675) with 10 errors 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.770) with 1 error and no warnings. ??? tsc-samples-20110419-1620z.zzz -- G. Ken Holman OASIS Individual Member Crane Softwrights Ltd. http://www.oasis-open.org