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: Example instances are not compatible with latest document models


The three example instances I have (attached) are no longer compatible with the document models.

Please send me repaired versions to include in the next package, or direct Arianna in any repairs to the document models.

Reports are below.

. . . . . . . . . . Ken

############################################################
Validating ../xml/UBL-ExceptionCriteria-2.1-Example.xml
############################################################
============== Phase 1: XSD schema validation ==============
Attempting well-formed, namespace-aware parse
Error:file:///Users/admin/t/UBL-SGTG-20130104-1830z/xml/UBL-ExceptionCriteria-2.1-Example.xml:162:38:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cac:ForecastExceptionCriteriaLine'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":SupplyItem, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ForecastExceptionCriterionLine}' is expected. Error:file:///Users/admin/t/UBL-SGTG-20130104-1830z/xml/UBL-ExceptionCriteria-2.1-Example.xml:185:38:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cac:ForecastExceptionCriteriaLine'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":SupplyItem, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ForecastExceptionCriterionLine}' is expected.
Parse succeeded (0.16) with 2 errors and no warnings.

############################################################
Validating ../xml/UBL-TransportExecutionPlan-2.1-Example.xml
############################################################
============== Phase 1: XSD schema validation ==============
Attempting well-formed, namespace-aware parse
Error:file:///Users/admin/t/UBL-SGTG-20130104-1830z/xml/UBL-TransportExecutionPlan-2.1-Example.xml:78:43:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cac:TransportUserResponseDeadlinePeriod'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":TransportServiceProviderResponseRequiredPeriod, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":TransportUserResponseRequiredPeriod, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ValidityPeriod, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":MainTransportationService, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":AdditionalTransportationService, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ServiceStartTimePeriod, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ServiceEndTimePeriod, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":FromLocation, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":ToLocation, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":AtLocation, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":TransportExecutionTerms, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":Consignment}' is expected. Error:file:///Users/admin/t/UBL-SGTG-20130104-1830z/xml/UBL-TransportExecutionPlan-2.1-Example.xml:347:29:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cac:ConsolidatedShipment'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":TransportHandlingUnit, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":FirstArrivalPortLocation, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":LastExitPortLocation}' is expected.
Parse succeeded (0.33) with 2 errors and no warnings.

############################################################
Validating ../xml/UBL-TransportExecutionPlanRequest-2.1-Example.xml
############################################################
============== Phase 1: XSD schema validation ==============
Attempting well-formed, namespace-aware parse
Error:file:///Users/admin/t/UBL-SGTG-20130104-1830z/xml/UBL-TransportExecutionPlanRequest-2.1-Example.xml:262:29:cvc-complex-type.2.4.a: Invalid content was found starting with element 'cac:ConsolidatedShipment'. One of '{"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":TransportHandlingUnit, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":FirstArrivalPortLocation, "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2":LastExitPortLocation}' is expected.
Parse succeeded (0.22) with 1 error and no warnings.

Attachment: UBL-ExceptionCriteria-2.1-Example.xml
Description: application/xml

Attachment: UBL-TransportExecutionPlan-2.1-Example.xml
Description: application/xml

Attachment: UBL-TransportExecutionPlanRequest-2.1-Example.xml
Description: application/xml


--
Contact us for world-wide XML consulting and instructor-led training
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/o/
G. Ken Holman                   mailto:gkholman@CraneSoftwrights.com
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal


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