You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by "Jeremy Hughes (JIRA)" <ji...@apache.org> on 2005/12/08 14:35:08 UTC
[jira] Created: (WODEN-1) element attr of interface->input can contain a type and no validation error is reported
element attr of interface->input can contain a type and no validation error is reported
---------------------------------------------------------------------------------------
Key: WODEN-1
URL: http://issues.apache.org/jira/browse/WODEN-1
Project: Woden
Type: Bug
Environment: J2SE 1.4.2
Reporter: Jeremy Hughes
Priority: Minor
This WSDL [1] has the following:
<wsdl:interface name="EchoInterface">
<wsdl:operation name="Echo" pattern="http://www.w3.org/2005/08/wsdl/in-out">
<wsdl:input element="xs:string"/>
<wsdl:output element="xs:string"/>
</wsdl:operation>
</wsdl:interface>
According to the spec [2], the element attribute value must resolve to an element declaration from the element declarations of the Description. xs:string isn't such an element as it is a simple type defined in XML schema [3]
[1] http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-1B/Service.wsdl
[2] http://www.w3.org/TR/2005/WD-wsdl20-20050803/#InterfaceMessageReference_Mapping
[3] http://www.w3.org/2001/XMLSchema.xsd
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
Re: [jira] Created: (WODEN-1) element attr of interface->input can contain
a type and no validation error is reported
Posted by Arthur Ryman <ry...@ca.ibm.com>.
Jeremy,
Yes, we need a assertion. The element attribute MUST resolve to an
ElementDeclaration component. We actually do have a catch-all QName
resolution assertion QName-0002 [1] for WSDL components but we need one
for type system components.
http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl20/wsdl20-z.html#QName-0002
Arthur Ryman,
IBM Software Group, Rational Division
blog: http://ryman.eclipsedevelopersjournal.com/
phone: +1-905-413-3077, TL 969-3077
assistant: +1-905-413-2411, TL 969-2411
fax: +1-905-413-4920, TL 969-4920
mobile: +1-416-939-5063, text: 4169395063@fido.ca
Jeremy Hughes <hu...@apache.org>
Sent by: jpjhughes@gmail.com
12/08/2005 11:18 AM
Please respond to
woden-dev
To
woden-dev@ws.apache.org
cc
Subject
Re: [jira] Created: (WODEN-1) element attr of interface->input can contain
a type and no validation error is reported
Lawrence, I'm adding to the W3CTestSuiteTest.java to add a testcase
for this. I've realised:
1) the parser correctly ignores the element="xs:string" because
xs:string isn't an element declaration.
2) the validator doesn't complain ... I think it should. However,
there isn't yet an assertion in the non-normative WSDL 2 spec for this
[4]
What do you think, should there be an assertion for this kinda thing?
Thanks,
Jeremy
[4]
http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl20/wsdl20-z.html#InterfaceMessageReference_Mapping
There isn't a The validator isn't I've realised the only way for me to
check the validatputting together a test case for this JIRA. I want to
make sure
On 12/8/05, Jeremy Hughes (JIRA) <ji...@apache.org> wrote:
> element attr of interface->input can contain a type and no validation
error is reported
>
---------------------------------------------------------------------------------------
>
> Key: WODEN-1
> URL: http://issues.apache.org/jira/browse/WODEN-1
> Project: Woden
> Type: Bug
> Environment: J2SE 1.4.2
> Reporter: Jeremy Hughes
> Priority: Minor
>
>
> This WSDL [1] has the following:
>
> <wsdl:interface name="EchoInterface">
> <wsdl:operation name="Echo" pattern="
http://www.w3.org/2005/08/wsdl/in-out">
> <wsdl:input element="xs:string"/>
> <wsdl:output element="xs:string"/>
> </wsdl:operation>
> </wsdl:interface>
>
> According to the spec [2], the element attribute value must resolve to
an element declaration from the element declarations of the Description.
xs:string isn't such an element as it is a simple type defined in XML
schema [3]
>
> [1]
http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-1B/Service.wsdl
> [2]
http://www.w3.org/TR/2005/WD-wsdl20-20050803/#InterfaceMessageReference_Mapping
> [3] http://www.w3.org/2001/XMLSchema.xsd
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
> http://www.atlassian.com/software/jira
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: woden-dev-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
Re: [jira] Created: (WODEN-1) element attr of interface->input can contain a type and no validation error is reported
Posted by Jeremy Hughes <hu...@apache.org>.
Lawrence, I'm adding to the W3CTestSuiteTest.java to add a testcase
for this. I've realised:
1) the parser correctly ignores the element="xs:string" because
xs:string isn't an element declaration.
2) the validator doesn't complain ... I think it should. However,
there isn't yet an assertion in the non-normative WSDL 2 spec for this
[4]
What do you think, should there be an assertion for this kinda thing?
Thanks,
Jeremy
[4] http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl20/wsdl20-z.html#InterfaceMessageReference_Mapping
There isn't a The validator isn't I've realised the only way for me to
check the validatputting together a test case for this JIRA. I want to
make sure
On 12/8/05, Jeremy Hughes (JIRA) <ji...@apache.org> wrote:
> element attr of interface->input can contain a type and no validation error is reported
> ---------------------------------------------------------------------------------------
>
> Key: WODEN-1
> URL: http://issues.apache.org/jira/browse/WODEN-1
> Project: Woden
> Type: Bug
> Environment: J2SE 1.4.2
> Reporter: Jeremy Hughes
> Priority: Minor
>
>
> This WSDL [1] has the following:
>
> <wsdl:interface name="EchoInterface">
> <wsdl:operation name="Echo" pattern="http://www.w3.org/2005/08/wsdl/in-out">
> <wsdl:input element="xs:string"/>
> <wsdl:output element="xs:string"/>
> </wsdl:operation>
> </wsdl:interface>
>
> According to the spec [2], the element attribute value must resolve to an element declaration from the element declarations of the Description. xs:string isn't such an element as it is a simple type defined in XML schema [3]
>
> [1] http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-1B/Service.wsdl
> [2] http://www.w3.org/TR/2005/WD-wsdl20-20050803/#InterfaceMessageReference_Mapping
> [3] http://www.w3.org/2001/XMLSchema.xsd
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
> http://www.atlassian.com/software/jira
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: woden-dev-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Commented: (WODEN-1) element attr of interface->input can
contain a type and no validation error is reported
Posted by "Lawrence Mandel (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-1?page=comments#action_12369109 ]
Lawrence Mandel commented on WODEN-1:
-------------------------------------
I've created a workaround for this issue. I'm calling it a workaround because it requires reading the schema for schema for every model creation and will only work when reading an existing WSDL document (as opposed to creating one programmatically). I'm going to leave this issue open until this is properly resolved but the reported problem should function properly in M4.
> element attr of interface->input can contain a type and no validation error is reported
> ---------------------------------------------------------------------------------------
>
> Key: WODEN-1
> URL: http://issues.apache.org/jira/browse/WODEN-1
> Project: Woden
> Type: Bug
> Environment: J2SE 1.4.2
> Reporter: Jeremy Hughes
> Assignee: Lawrence Mandel
> Priority: Minor
>
> This WSDL [1] has the following:
>
> <wsdl:interface name="EchoInterface">
> <wsdl:operation name="Echo" pattern="http://www.w3.org/2005/08/wsdl/in-out">
> <wsdl:input element="xs:string"/>
> <wsdl:output element="xs:string"/>
> </wsdl:operation>
> </wsdl:interface>
> According to the spec [2], the element attribute value must resolve to an element declaration from the element declarations of the Description. xs:string isn't such an element as it is a simple type defined in XML schema [3]
> [1] http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-1B/Service.wsdl
> [2] http://www.w3.org/TR/2005/WD-wsdl20-20050803/#InterfaceMessageReference_Mapping
> [3] http://www.w3.org/2001/XMLSchema.xsd
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Updated: (WODEN-1) element attr of interface->input can
contain a type and no validation error is reported
Posted by "Lawrence Mandel (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-1?page=all ]
Lawrence Mandel updated WODEN-1:
--------------------------------
Component: Validation
> element attr of interface->input can contain a type and no validation error is reported
> ---------------------------------------------------------------------------------------
>
> Key: WODEN-1
> URL: http://issues.apache.org/jira/browse/WODEN-1
> Project: Woden
> Type: Bug
> Components: Validation
> Environment: J2SE 1.4.2
> Reporter: Jeremy Hughes
> Assignee: Lawrence Mandel
> Priority: Minor
>
> This WSDL [1] has the following:
>
> <wsdl:interface name="EchoInterface">
> <wsdl:operation name="Echo" pattern="http://www.w3.org/2005/08/wsdl/in-out">
> <wsdl:input element="xs:string"/>
> <wsdl:output element="xs:string"/>
> </wsdl:operation>
> </wsdl:interface>
> According to the spec [2], the element attribute value must resolve to an element declaration from the element declarations of the Description. xs:string isn't such an element as it is a simple type defined in XML schema [3]
> [1] http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-1B/Service.wsdl
> [2] http://www.w3.org/TR/2005/WD-wsdl20-20050803/#InterfaceMessageReference_Mapping
> [3] http://www.w3.org/2001/XMLSchema.xsd
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Updated: (WODEN-1) element attr of interface->input can
contain a type and no validation error is reported
Posted by "Lawrence Mandel (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-1?page=all ]
Lawrence Mandel updated WODEN-1:
--------------------------------
Fix Version/s: M7
Affects Version/s: (was: M7)
> element attr of interface->input can contain a type and no validation error is reported
> ---------------------------------------------------------------------------------------
>
> Key: WODEN-1
> URL: http://issues.apache.org/jira/browse/WODEN-1
> Project: Woden
> Issue Type: Bug
> Components: Validation
> Environment: J2SE 1.4.2
> Reporter: Jeremy Hughes
> Assigned To: Lawrence Mandel
> Priority: Minor
> Fix For: M7
>
>
> This WSDL [1] has the following:
>
> <wsdl:interface name="EchoInterface">
> <wsdl:operation name="Echo" pattern="http://www.w3.org/2005/08/wsdl/in-out">
> <wsdl:input element="xs:string"/>
> <wsdl:output element="xs:string"/>
> </wsdl:operation>
> </wsdl:interface>
> According to the spec [2], the element attribute value must resolve to an element declaration from the element declarations of the Description. xs:string isn't such an element as it is a simple type defined in XML schema [3]
> [1] http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-1B/Service.wsdl
> [2] http://www.w3.org/TR/2005/WD-wsdl20-20050803/#InterfaceMessageReference_Mapping
> [3] http://www.w3.org/2001/XMLSchema.xsd
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Updated: (WODEN-1) element attr of interface->input can
contain a type and no validation error is reported
Posted by "Lawrence Mandel (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-1?page=all ]
Lawrence Mandel updated WODEN-1:
--------------------------------
Assign To: Lawrence Mandel
Jeremy, the spec does indicate that xs:string is not allowed to be used for an element reference but it does not state this with an assertion using the "MUST" keyword. I'll follow up with the WSDL working group about this assertion.
> element attr of interface->input can contain a type and no validation error is reported
> ---------------------------------------------------------------------------------------
>
> Key: WODEN-1
> URL: http://issues.apache.org/jira/browse/WODEN-1
> Project: Woden
> Type: Bug
> Environment: J2SE 1.4.2
> Reporter: Jeremy Hughes
> Assignee: Lawrence Mandel
> Priority: Minor
>
> This WSDL [1] has the following:
>
> <wsdl:interface name="EchoInterface">
> <wsdl:operation name="Echo" pattern="http://www.w3.org/2005/08/wsdl/in-out">
> <wsdl:input element="xs:string"/>
> <wsdl:output element="xs:string"/>
> </wsdl:operation>
> </wsdl:interface>
> According to the spec [2], the element attribute value must resolve to an element declaration from the element declarations of the Description. xs:string isn't such an element as it is a simple type defined in XML schema [3]
> [1] http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-1B/Service.wsdl
> [2] http://www.w3.org/TR/2005/WD-wsdl20-20050803/#InterfaceMessageReference_Mapping
> [3] http://www.w3.org/2001/XMLSchema.xsd
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Commented: (WODEN-1) element attr of interface->input can
contain a type and no validation error is reported
Posted by "Lawrence Mandel (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-1?page=comments#action_12369107 ]
Lawrence Mandel commented on WODEN-1:
-------------------------------------
For reference, my post about this issue to the W3C WSDL 2.0 mailing list is available at http://lists.w3.org/Archives/Public/www-ws-desc/2006Jan/0038.html.
> element attr of interface->input can contain a type and no validation error is reported
> ---------------------------------------------------------------------------------------
>
> Key: WODEN-1
> URL: http://issues.apache.org/jira/browse/WODEN-1
> Project: Woden
> Type: Bug
> Environment: J2SE 1.4.2
> Reporter: Jeremy Hughes
> Assignee: Lawrence Mandel
> Priority: Minor
>
> This WSDL [1] has the following:
>
> <wsdl:interface name="EchoInterface">
> <wsdl:operation name="Echo" pattern="http://www.w3.org/2005/08/wsdl/in-out">
> <wsdl:input element="xs:string"/>
> <wsdl:output element="xs:string"/>
> </wsdl:operation>
> </wsdl:interface>
> According to the spec [2], the element attribute value must resolve to an element declaration from the element declarations of the Description. xs:string isn't such an element as it is a simple type defined in XML schema [3]
> [1] http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-1B/Service.wsdl
> [2] http://www.w3.org/TR/2005/WD-wsdl20-20050803/#InterfaceMessageReference_Mapping
> [3] http://www.w3.org/2001/XMLSchema.xsd
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Closed: (WODEN-1) element attr of interface->input can
contain a type and no validation error is reported
Posted by "Jeremy Hughes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WODEN-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeremy Hughes closed WODEN-1.
-----------------------------
> element attr of interface->input can contain a type and no validation error is reported
> ---------------------------------------------------------------------------------------
>
> Key: WODEN-1
> URL: https://issues.apache.org/jira/browse/WODEN-1
> Project: Woden
> Issue Type: Bug
> Components: Validation
> Environment: J2SE 1.4.2
> Reporter: Jeremy Hughes
> Assigned To: Lawrence Mandel
> Priority: Minor
> Fix For: M7
>
>
> This WSDL [1] has the following:
>
> <wsdl:interface name="EchoInterface">
> <wsdl:operation name="Echo" pattern="http://www.w3.org/2005/08/wsdl/in-out">
> <wsdl:input element="xs:string"/>
> <wsdl:output element="xs:string"/>
> </wsdl:operation>
> </wsdl:interface>
> According to the spec [2], the element attribute value must resolve to an element declaration from the element declarations of the Description. xs:string isn't such an element as it is a simple type defined in XML schema [3]
> [1] http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-1B/Service.wsdl
> [2] http://www.w3.org/TR/2005/WD-wsdl20-20050803/#InterfaceMessageReference_Mapping
> [3] http://www.w3.org/2001/XMLSchema.xsd
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Updated: (WODEN-1) element attr of interface->input can
contain a type and no validation error is reported
Posted by "Lawrence Mandel (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WODEN-1?page=all ]
Lawrence Mandel updated WODEN-1:
--------------------------------
Affects Version/s: M7
> element attr of interface->input can contain a type and no validation error is reported
> ---------------------------------------------------------------------------------------
>
> Key: WODEN-1
> URL: http://issues.apache.org/jira/browse/WODEN-1
> Project: Woden
> Issue Type: Bug
> Components: Validation
> Affects Versions: M7
> Environment: J2SE 1.4.2
> Reporter: Jeremy Hughes
> Assigned To: Lawrence Mandel
> Priority: Minor
>
> This WSDL [1] has the following:
>
> <wsdl:interface name="EchoInterface">
> <wsdl:operation name="Echo" pattern="http://www.w3.org/2005/08/wsdl/in-out">
> <wsdl:input element="xs:string"/>
> <wsdl:output element="xs:string"/>
> </wsdl:operation>
> </wsdl:interface>
> According to the spec [2], the element attribute value must resolve to an element declaration from the element declarations of the Description. xs:string isn't such an element as it is a simple type defined in XML schema [3]
> [1] http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-1B/Service.wsdl
> [2] http://www.w3.org/TR/2005/WD-wsdl20-20050803/#InterfaceMessageReference_Mapping
> [3] http://www.w3.org/2001/XMLSchema.xsd
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Resolved: (WODEN-1) element attr of interface->input can
contain a type and no validation error is reported
Posted by "Lawrence Mandel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WODEN-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lawrence Mandel resolved WODEN-1.
---------------------------------
Resolution: Fixed
This issue has been fixed for some time. I've opened Woden-131 to track the removal of the schema read from the parser.
> element attr of interface->input can contain a type and no validation error is reported
> ---------------------------------------------------------------------------------------
>
> Key: WODEN-1
> URL: https://issues.apache.org/jira/browse/WODEN-1
> Project: Woden
> Issue Type: Bug
> Components: Validation
> Environment: J2SE 1.4.2
> Reporter: Jeremy Hughes
> Assigned To: Lawrence Mandel
> Priority: Minor
> Fix For: M7
>
>
> This WSDL [1] has the following:
>
> <wsdl:interface name="EchoInterface">
> <wsdl:operation name="Echo" pattern="http://www.w3.org/2005/08/wsdl/in-out">
> <wsdl:input element="xs:string"/>
> <wsdl:output element="xs:string"/>
> </wsdl:operation>
> </wsdl:interface>
> According to the spec [2], the element attribute value must resolve to an element declaration from the element declarations of the Description. xs:string isn't such an element as it is a simple type defined in XML schema [3]
> [1] http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/bad/Service-1B/Service.wsdl
> [2] http://www.w3.org/TR/2005/WD-wsdl20-20050803/#InterfaceMessageReference_Mapping
> [3] http://www.w3.org/2001/XMLSchema.xsd
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org