[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: Example instances are not compatible with latest document models
Here is more information regarding the problems in the three example instances: (1) UBL-ExceptionCriteria-2.1-Example.xml https://www.oasis-open.org/committees/download.php/47806/#t-CommonLibrary-781 - I see SupplyItem is mandatory, but there is no element in the instance, and that it happens twice, at lines 162 and 185 - I also note that the definitions are messed up, which means that eitherthe definition spreadsheet was incorrect or I'm looking up the wrong values
in the definition spreadsheet; I will report on this later (2) UBL-TransportExecutionPlan-2.1-Example.xml https://www.oasis-open.org/committees/download.php/47807/#Table_TransportExecutionPlan - line 78 - I see no element named TransportUserResponseDeadlinePeriod https://www.oasis-open.org/committees/download.php/47807/#t-CommonLibrary-283 - line 347 - ConsolidatedShipment appears to be the first of the aggregate children of Consignment in the model, not near the end (3) UBL-TransportExecutionPlanRequest-2.1-Example.xml https://www.oasis-open.org/committees/download.php/47807/#t-CommonLibrary-283 - line 262 - ConsolidatedShipment appears to be the first of the aggregate children of Consignment in the model, not near the endI hope this is enough information to work with without having the schemas in hand.
. . . . . . . . Ken At 2013-01-04 17:09 -0500, I wrote:
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 parseError: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 parseError: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 parseError: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.
-- 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]