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 "John Kaputin (JIRA)" <ji...@apache.org> on 2006/11/01 17:36:19 UTC
[jira] Commented: (WODEN-13) Test Case Failures:
documents/good/Chameleon-1G, 2G, 3G, 4G
[ http://issues.apache.org/jira/browse/WODEN-13?page=comments#action_12446298 ]
John Kaputin commented on WODEN-13:
-----------------------------------
Applied a fix to modify the buildElementsAndTypes method to match a change in WS-Commons XmlSchema
where by XmlSchema.getTargetNamespace() now returns null if the target namespace is absent (rather than the string "DEFAULT" as it used to).
This should fix the first 3 test failures reported by this JIRA; Chameleon-1G, Chameleon-2G and Chameleon-3G.
Testcase Chameleon-4G will still fail because of a problem with the equals(Object) method inherited by XmlSchema from XmlSchemaObject. Based on the equivalance checking in this method, the second inline schema in Chameleon-4G's getBalance.wsdl is considered to be equal to the first inline schema (ie. even though they have different TNS and <xs:include> different schemas), so the second inline schema is ignored by Woden. i.e. Woden does not extract the second inline schema's included element declarations and type defintitions.
A workaround might be to re-code Woden so that it does not depend on the equals(Object) method via the statement:
if(!fSchemasDone.contains(schemaDef))
but instead, checks the object references explicitly.
A better solution is to fix the equivalence checking of XmlSchema.equals(Object). I'll post to the WS-COMMONS mailing list about this and/or raise an JIRA against XmlSchema.
> Test Case Failures: documents/good/Chameleon-1G, 2G, 3G, 4G
> -----------------------------------------------------------
>
> Key: WODEN-13
> URL: http://issues.apache.org/jira/browse/WODEN-13
> Project: Woden
> Issue Type: Bug
> Components: Parser
> Reporter: Arthur Ryman
> Assigned To: John Kaputin
> Attachments: WODEN-13patch.txt
>
>
> These are failing due to lack of <xs:import> support. TypeDefinition and ElementDeclaration components are missing.
> FYI, see the W3C status report for latest results [1]
> [1] http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/results/Overview.html
--
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