[ https://issues.apache.org/jira/browse/AXIS2-4970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen reassigned AXIS2-4970: -------------------------------------- Assignee: Andreas Veithen > SOAPElement.addTextNode allows entering invalid XML character > ------------------------------------------------------------- > > Key: AXIS2-4970 > URL: https://issues.apache.org/jira/browse/AXIS2-4970 > Project: Axis2 > Issue Type: Wish > Reporter: Soichi Hayashi > Assignee: Andreas Veithen > > I am not sure if this issue is already reported or not, but since I couldn't > find it anywhere.. let me open a new ticket.. > There are certain characters that are invalid in XML.. for example, following > is an invalid XML > <xml> > test > </xml> > When I pass an unicode string containing char(24) (which is a valid Unicode > char by the way) to SOAPElement.addTextNode(), it doesn't complain nor > validate such string. The SOAP envelop will be constructed and passed to the > destination SOAP server without any issue. However, when the server tries to > parse the SOAP envelop, it throws up (such as Perl's SOAP server which uses > XML::Parser to parse it). > Now, whose fault is this? I am not sure... but, for one thing, > SOAPElement.addTextNode, or should be smart enough to check for characters > that are invalid XML and throws exception if such string is passed since it > knows that the string will be eventually formatted in XML. > Thanks, > Soichi Hayashi -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org