You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2006/02/10 00:57:55 UTC

[jira] Commented: (WSCOMMONS-4) unit test for xml schema test suite

    [ http://issues.apache.org/jira/browse/WSCOMMONS-4?page=comments#action_12365802 ] 

Davanum Srinivas commented on WSCOMMONS-4:
------------------------------------------

wrong patch file :)

> unit test for xml schema test suite
> -----------------------------------
>
>          Key: WSCOMMONS-4
>          URL: http://issues.apache.org/jira/browse/WSCOMMONS-4
>      Project: WS-Commons
>         Type: New Feature
>   Components: XmlSchema
>     Reporter: Dan Diephouse
>  Attachments: xfire-ws-security-patch.txt
>
> Attached is a unit test which tests that we write out the same document that we read in. Although, XmlSchema rearranges the documen slightly, so we are a bit lax on some things - like the number of attributes on the root schema element. 
> This patch also fixes
> - stackoverflow exception when XmlSchema trys to write a cyclic graph of complex types (see added test in TestElementRefs)
> - writing of xml schema attributes. Before they were prefixed - i.e. <xsd:element xsd:name="foo"/>, but they should be <xsd:element name="foo"/>. I'm not sure how this ever worked before. But maybe it is a funky DOM thing? It'd be good if someone could verify my fix is correct.

-- 
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