[prev in list] [next in list] [prev in thread] [next in thread]
List: webservices-general
Subject: [jira] [Commented] (AXIOM-406) Wrong and strange behavior in
From: "Andreas Veithen (Commented) (JIRA)" <jira () apache ! org>
Date: 2011-12-14 11:21:30
Message-ID: 645241258.10518.1323861690648.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/AXIOM-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169267#comment-13169267 \
]
Andreas Veithen commented on AXIOM-406:
---------------------------------------
Because of the following production in the XML specs:
CharData ::= [^<&]* - ([^<&]* ']]>' [^<&]*)
> Wrong and strange behavior in escaping 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
> Labels: escape, text, unescape, xml
>
> When I parse a node which is like (test example):
> <node>< < > ></node>
> toString() returns "<node>< < > ></node>"
> getText() returns "< < > >"
> Why getText unescapes the special symbols?
> Why toString() unescapes the greater-than symbols and yet leaves < unchanged and \
> < gets converted to < ? Is this correct?
--
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