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=22637>.
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=22637

Incorrect serialization of xml:lang attribute in SOAPFault.java

           Summary: Incorrect serialization of xml:lang attribute in
                    SOAPFault.java
           Product: Axis
           Version: 1.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Serialization/Deserialization
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Currently, serialization of a SOAPFault attempts to add an xml:lang attribute 
using the following code <tt>attrs.addAttribute
("http://www.w3.org/XML/1998/namespace";, "xml", "xml:lang", "CDATA", "en");</tt>
The correct code is <tt>attrs.addAttribute
("http://www.w3.org/XML/1998/namespace";, "lang", "xml:lang", "CDATA", "en");</tt
>
Also, if I remember the XML spec correctly, it is not necessary to declare the 
XML namespace. Would it would suffice to simply use <tt>attrs.addAttribute
(null, null, "xml:lang", "CDATA", "en");</tt>?

Reply via email to