[
https://issues.apache.org/jira/browse/WSCOMMONS-305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Davanum Srinivas reassigned WSCOMMONS-305:
------------------------------------------
Assignee: Glen Daniels
> OMElementImpl.getText() returns an empty String for text in CDATA tags
> ----------------------------------------------------------------------
>
> Key: WSCOMMONS-305
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-305
> Project: WS-Commons
> Issue Type: Improvement
> Components: AXIOM
> Environment: any
> Reporter: Hiranya Jayathilaka
> Assignee: Glen Daniels
> Attachments: svndiff.patch
>
>
> AXIOM supports building OM structures with CDATA elements. For an example
> something like,
> soapFactory.createOMText(parentNode, "some text",XMLStreamConstants.CDATA);
> is perfectly valid and delivers the expected result. But when traversing such
> an OM structure calling parentNode.getText() returns an empty String. Instead
> it would have been better if it returned the String without the CDATA tags.
> For an example calling getText() on an element like,
> <parentnode><![CDATA[some text]]></parentnode>
> should return the String, "some text".
--
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]