|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
Re: Clarify 'scope' of {element declarations} and {type definitions} re SparqlQuerySimplified-1GThank you for this comment. The
Working Group this issue as a CR145 [1]. The latest editor's draft defines that
only element declarations and types which are “visible” to WSDL for
the purpose of QName referencing should appear in the component model. The
fixes are in [2, 3, 4]. Unless you let us know otherwise within 2
weeks, we will assume you agree with the resolution of this issue. [1] http://www.w3.org/2002/ws/desc/5/cr-issues/issues.html#CR145
Jonathan Marsh - http://www.wso2.com - http://auburnmarshes.spaces.live.com I would like clarification the WSDL 2.0 testcase SparqlQuerySimplified-1G and which schema element declarations should be present in the {elementdeclarations} property of the Description component. I think I had aconversation about this issue with Jonathan and Arthur driving out to NiagraFalls at the July interop.The baseline component model interchange format for this testcase includesan element declaration whose namespace is not inlined or imported within theWSDL document's <types> element.Baseline sparql-protocol-query.canonical.wsdlcm contains this item: <elementDeclarationComponent xml:id="c22"> <name> <base:namespaceName>http://www.w3.org/1999/02/22-rdf-syntax-ns#</base:namespaceName> <base:localName>RDF</base:localName> </name> <system>http://www.w3.org/2001/XMLSchema</system> </elementDeclarationComponent>This element declaration is defined in a schema which is imported by the<xs:schema> element inlined within the <types> element ofsparql-protocol-query.wsdl. However, the namespacehttp://www.w3.org/1999/02/22-rdf-syntax-ns# is not xs:imported directlywithin the <types> element.According to Part 1, section 3.1 Using W3C XML Schema Description Language:Schema-0016 "A WSDL 2.0 document MUST NOT refer to XML Schema components ina given namespace unless an xs:import or xs:schema element information itemfor that namespace is present ..."In implementing Woden, I interpreted this to mean that {elementdeclarations} and {type definitions} only contain schema components whosenamespace is inlined or imported directly within the <types> element. TheWoden sparql-protocol-query.canonical.wsdlcm file refects this, in that theelement declaration mentioned above is not present (and Woden is failing thetestcase accordingly).However, it may be that the intention of the WSDL 2.0 authors is that ALLglobal element declarations and type definitions referenceable by XML SchemaMUST be included in {element declarations} and {type definitions},regardless of whether they are inlined or imported directly within <types>or whether they are 'nested' imports within those directly inlined orimported schemas, and that assertions like Schema-0016 only apply when WSDL2.0 components like InterfaceFault and InterfaceMessageReference resolvetheir 'element' QNames to ElementDeclarations (but not to the contents of{element declarations} and {type definitions} themselves).Can someone from the working group please explain which interpretation iscorrect?Thanks,John Kaputin
|
| Free embeddable forum powered by Nabble | Forum Help |