[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlrpc-user
Subject:    [jira] [Created] (AXIOM-406) Wrong escaping of special symbols
From:       "Juan Miguel Cejuela (Created) (JIRA)" <jira () apache ! org>
Date:       2011-12-13 14:23:30
Message-ID: 1481404039.5789.1323786210678.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]

Wrong escaping of special symbols
---------------------------------

                 Key: AXIOM-406
                 URL: https://issues.apache.org/jira/browse/AXIOM-406
             Project: Axiom
          Issue Type: Bug
            Reporter: Juan Miguel Cejuela
            Priority: Minor


When I parse a node which is like (test example):

<node>&#60; &lt; &gt; &#62;</node>

toString() returns "<node>&lt; &lt; > ></node>"
getText() returns "< < > >"


Why getText unescapes the special symbols?
Why toString() unescapes the greater-than symbols and yet leaves &lt; unchanged and \
&#60; gets converted to &lt;  ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: \
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more \
information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic