You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2002/09/09 20:56:26 UTC

DO NOT REPLY [Bug 12453] New: - Axis does not correctly HTML-encode <'s and >'s

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12453>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12453

Axis does not correctly HTML-encode <'s and >'s

           Summary: Axis does not correctly HTML-encode <'s and >'s
           Product: Axis
           Version: current (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Serialization/Deserialization
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: hhuang@kodak.com


Using the same example, the following Java code:

UrlType url = new UrlType();
url.name = "</name>";

Axis generates pathological XML:

<url>
  <name></name></name>
</url>

Axis forgot to HTML-encode (?). Axis should automatically encode/decode like 
Apache SOAP did.

-Han Huang
hhuang@kodak.com