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 <KA...@uk.ibm.com> on 2005/10/26 19:41:04 UTC

Woden changed to ws-commons XmlSchema

I have change Woden back to using XmlSchema. Thanks for the fixes Dims.

There are still some problems, but I'll look at those after M2 (ie. next
week).

The 3 junit failures in the test suite are due to one of these problems.
The test wsdls contain inline schemas that use the prefix 'xs' (e.g.
type="xs:string") and the namespace declaration for 'xs' is in the
<wsdl:description> rather than the <schema> element. 'xs' should still be
in-scope but the XmlSchemaException says it cannot map the prefix. I think
the problem is in SchemaBuilder.setNamespaceAttributes. It's not looking
for namespaces from a higher scope.

(See attached file: Failures due to namespace scope.txt)

There are some other schema parsing errors that were also reported by
XMLSchema API, so they are probably WSDL test case bugs. I reported some to
W3C a while back. Will check these later too.

(See attached file: Test suite output with ws-commons XmlSchema.txt)

regards,
John Kaputin

Re: Woden changed to ws-commons XmlSchema

Posted by Davanum Srinivas <da...@gmail.com>.
Interesting...i will take a peek if i get a chance.

-- dims

On 10/26/05, John Kaputin <KA...@uk.ibm.com> wrote:
> I have change Woden back to using XmlSchema. Thanks for the fixes Dims.
>
> There are still some problems, but I'll look at those after M2 (ie. next
> week).
>
> The 3 junit failures in the test suite are due to one of these problems.
> The test wsdls contain inline schemas that use the prefix 'xs' (e.g.
> type="xs:string") and the namespace declaration for 'xs' is in the
> <wsdl:description> rather than the <schema> element. 'xs' should still be
> in-scope but the XmlSchemaException says it cannot map the prefix. I think
> the problem is in SchemaBuilder.setNamespaceAttributes. It's not looking
> for namespaces from a higher scope.
>
> (See attached file: Failures due to namespace scope.txt)
>
> There are some other schema parsing errors that were also reported by
> XMLSchema API, so they are probably WSDL test case bugs. I reported some to
> W3C a while back. Will check these later too.
>
> (See attached file: Test suite output with ws-commons XmlSchema.txt)
>
> regards,
> John Kaputin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: woden-dev-help@ws.apache.org
>
>
>


--
Davanum Srinivas : http://wso2.com/blogs/

---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org