provision message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: XSD Draft 19 Validation
- From: "Raepple, Martin" <martin.raepple@sap.com>
- To: <provision@lists.oasis-open.org>
- Date: Mon, 23 May 2005 18:05:43 +0200
Title: XSD Draft 19 Validation
I validated the draft 19 of the XSDs with Eclipse and the XML/XSD Validator from the Web Tools Platform Plugins. Basically the validation result from Eclipse (see below) shows the same error messages Marco sent in his XMLSpy report. Following a summary of the problems:
- cos-nonambig: WC[##other:"urn:oasis:names:tc:SPML:2:0"] and …: Although most of the element's namespace definitions in the types derived from ExtensibleType refer to the (core) spml namespace, the validator believes that these elements are defined in the capability-specific namespace (e.g. password) which could lead to a duplicate definition of the same element within a sequence.
Example: ComplexType ValidatePasswordRequestType (in draft_pstc_spmlv2_password_19.xsd) adds an element "psoID" of type PSOIdentifierType from namespace spml (which should work!), but based on the error message (see below) the validator seems to believe that psoID is defined in namespace urn:oasis:names:tc:SPML:2:0:password, which could cause a conflict with the extension mechanism "<any namespace="##other" … " derived from ExtensibleType in draft_pstc_spmlv2_core_19.xsd. At least that is my current understanding. Any other opinions?
- src-resolve: Cannot resolve the name 'datetime' to a(n) 'simpleType definition' component: Rename datetime to dateTime should resolve this issue.
Below the list of detailed problem messages from Eclipse:
draft_pstc_spmlv2_bulk_19.xsd:
- cos-nonambig: WC[##other:"urn:oasis:names:tc:SPML:2:0"] and "urn:oasis:names:tc:SPML:2:0:search":query (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles
draft_pstc_spmlv2_password_19.xsd:
- cos-nonambig: WC[##other:"urn:oasis:names:tc:SPML:2:0"] and "urn:oasis:names:tc:SPML:2:0:password":psoID (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.
- cos-nonambig: WC[##other:"urn:oasis:names:tc:SPML:2:0"] and "urn:oasis:names:tc:SPML:2:0:password":password (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.
draft_pstc_spmlv2_reference_19.xsd:
- cos-nonambig: WC[##other:"urn:oasis:names:tc:SPML:2:0"] and "urn:oasis:names:tc:SPML:2:0:reference":toPSOID (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.
- cos-nonambig: WC[##other:"urn:oasis:names:tc:SPML:2:0"] and "urn:oasis:names:tc:SPML:2:0:reference":schemaEntity (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.
draft_pstc_spmlv2_search_19.xsd:
- cos-nonambig: WC[##other:"urn:oasis:names:tc:SPML:2:0"] and "urn:oasis:names:tc:SPML:2:0:search":query (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.
- cos-nonambig: WC[##other:"urn:oasis:names:tc:SPML:2:0"] and "urn:oasis:names:tc:SPML:2:0:search":pso (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.
- cos-nonambig: WC[##other:"urn:oasis:names:tc:SPML:2:0"] and "urn:oasis:names:tc:SPML:2:0:search":iterator (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.
draft_pstc_spmlv2_suspend_19.xsd:
- src-resolve: Cannot resolve the name 'datetime' to a(n) 'simpleType definition' component.
- cos-nonambig: WC[##other:"urn:oasis:names:tc:SPML:2:0"] and "urn:oasis:names:tc:SPML:2:0:suspend":psoID (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.
draft_pstc_spmlv2_updates_19.xsd:
- cos-nonambig: WC[##other:"urn:oasis:names:tc:SPML:2:0"] and "urn:oasis:names:tc:SPML:2:0:updates":psoID (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.
- cos-nonambig: WC[##other:"urn:oasis:names:tc:SPML:2:0"] and "urn:oasis:names:tc:SPML:2:0:updates":update (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.
- cos-nonambig: WC[##other:"urn:oasis:names:tc:SPML:2:0"] and "urn:oasis:names:tc:SPML:2:0:updates":iterator (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]