[ 
https://issues.apache.org/jira/browse/WODEN-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523944
 ] 

John Kaputin commented on WODEN-162:
------------------------------------

Dan,
thanks for the patch.  There are a few TODOs left  in the test suite. Search 
for the string "WODEN-162" in the /test folder to find the TODO comments.

In InterfaceFaultElementTest and InterfaceMessageReferenceElementTest the 
testGetXmlSchemaElement() methods need the addition of a test that adds an 
XmlSchema object to the TypesElement. The schema should containing an element 
declaration that matches the 'element' attribute of the fault or message 
reference.

In InterfaceFaultTest the method testGetMessageContentModel() needs to be 
added. This can be copied from InterfaceMessageReferenceTest. Also in this 
class, the method testGetElementDeclaration() method needs the addition 
described above (use an XmlSchema added via the TypesElement to resolve the 
element qname)

In InterfaceMessageReferenceTest the method testGetElementDeclaration() needs 
to be added, as per InterfaceFaultTest.

> parser does not handle faults with element="#any" etc.
> ------------------------------------------------------
>
>                 Key: WODEN-162
>                 URL: https://issues.apache.org/jira/browse/WODEN-162
>             Project: Woden
>          Issue Type: Bug
>          Components: Parser
>    Affects Versions: M7a
>            Reporter: Jacek Kopecky
>            Assignee: Dan Harvey
>            Priority: Minor
>             Fix For: M8
>
>         Attachments: Woden-162.patch.txt
>
>
> similarly to interface message references, interface faults have {message 
> content model} property, i.e. the "element" attribute can have values "#any", 
> "#none" or "#other", or none at all which is equal to "#other"; the 
> parseInterfaceMessageReference method does the right thing, but the 
> parseInterfaceFault method only expects a qname.
> to test, just put element="#any" on a fault, instead of pointing to a qname.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to