[ http://issues.apache.org/jira/browse/AXIS2-1490?page=all ]

Amila Chinthaka Suriarachchi updated AXIS2-1490:
------------------------------------------------

    Attachment: adb-codegen.tar

this patch inclues new test casses for adb-testsuite. And fixes for the found 
bugs. 
Earlier, the value of the default attribute (in ADBBeanTemplate.xsl) was 
determined by using the variable type (i.e. check the variable type is 
OMElement or not). In this case always default attribute value is also true for 
xsd:any  elements. This is wrong and I fixed it with following assemption.
default attribute is true only for type = 'xsd:anyType' elements and any 
attribute is true only for xsd:any elements.

I have used omElement.toStringWithConsume() to get the string representation of 
the omElement. But this does not output the last element correctly. So I added 
a patch to ADBDataSouce.java to flush the xmlStream after writting.

> ADB Testsuite
> -------------
>
>                 Key: AXIS2-1490
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1490
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Test
>          Components: databinding, adb, codegen
>         Environment: any
>            Reporter: Amila Chinthaka Suriarachchi
>         Attachments: adb-codegen.tar
>
>
> Adding test cases to test the adb-codegen module

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

Reply via email to