[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [ws-brsp] Fw: Multiple inline schema's with the same targetNamespace doesn't work properly
Doug: Can you and I investigate this this week and give an informal response to Gerwin in the short term, that will be proposed to the TC for a formal approval next meeting? So far, my quick assessment is: 1) Are multiple inline XSD Schema's with the same targetNamespace allowed? Are there any references available? Yes – WSDL spec says: “There can be multiple schemas associated with a particular namespace, and it is up to a processor of XML to determine which one to use in a particular processing context.”
Yes – the Analyzer goes beyond what the test assertion WSI2122 is requiring. The error message is an additional message added by the Analyzer that expresses an inability of the Analyzer to handle that corner case.
Need to check with the Java tools contributors… I believe the Java test tools have been contributed to the Eclipse project? (Dave Lauzon from IBM contributed I think). I see two levels of fixing: (1) full fixing that makes analyzer able to handle several schemas w same namespace, (2) a quick fix that issues a warning that the analyzer was unable to process these but at least not an error. Level 2 seems to be easily reachable provided we get control on the code, or with whoever is controlling the code. -jacques ------------------------- report ----------------------------- <assertionResult id="BP2122" result="failed"> <failureMessage xml:lang="en">A wsdl:types element contained a data type definition that is not an XML schema definition.</failureMessage> <failureDetail xml:lang="en" >Error: src-resolve: Cannot resolve the name 'same:addressElement' to a(n) 'element declaration' component. ------------------------- Profile requirement ----------------------------- This assertion refers to BP11 requirement R2801: R2801 A DESCRIPTION MUST use XML Schema 1.0 Recommendation as the basis of user defined datatypes and structures. -------------------------- test assertion ----------------------------- <testAssertion id="WSI2122" entryType="types" type="required" enabled="true"> <context>For a candidate wsdl:types element</context> <assertionDescription>The data type definition if any within the wsdl:types element is an XML schema definition defined in the XML Schema 1.0 Recommendation with the namespace URI "http://www.w3.org/2001/XMLSchema".</assertionDescription> <failureMessage>A wsdl:types element contained a data type definition that is not an XML schema definition.</failureMessage> <failureDetailDescription>Defective data type definition.</failureDetailDescription> <additionalEntryTypeList> <messageInput>none</messageInput> <wsdlInput>none</wsdlInput> <uddiInput>none</uddiInput> </additionalEntryTypeList> <prereqList/> <referenceList> <reference profileID="BP1">R2801</reference> </referenceList> <comments> Validating the data type definitions includes any imported XML schema definitions. </comments> </testAssertion> -jacques From: ws-brsp@lists.oasis-open.org [mailto:ws-brsp@lists.oasis-open.org] On Behalf Of Doug Davis
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]