axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Commented: (AXIS-1518) XML Declaration missing
Date Tue, 07 Sep 2004 21:20:37 GMT
The following comment has been added to this issue:

     Author: Ias
    Created: Tue, 7 Sep 2004 2:18 PM
A brief note on how this change works

In SAAJ 1.2's perspective, adding XML declaration is up to SOAPMessage, not SOAPPart. Meanwhile,
Axis handles the job in SOAPPart. Moreover, SOAPPart.writeTo(Writer) is called by various
methods, some of which don't care about the XML declaration issue. With this change, XML declaration
is controlled by Axis Engine's generic configuration from WSDD and SAAJ SOAPMessage's specific
property. (Generic first, specific overridable)

To keep up with this refactoring, SAXOutputter handles XML declaration no more.

Finally, SerializationContext's sendXMLDecl is not referred at all practically. In other words,
sending XML declaration is not a SerializationContext's job. (I suggest cleaning it out.)


View this comment:

View the issue:

Here is an overview of the issue:
        Key: AXIS-1518
    Summary: XML Declaration missing
       Type: Bug

     Status: Unassigned
   Priority: Blocker

    Project: Axis
             current (nightly)

   Reporter: Oliver Adler

    Created: Wed, 18 Aug 2004 5:50 AM
    Updated: Tue, 7 Sep 2004 2:18 PM
Environment: Nightly 2004-08-18 (ws-axis_20040818043750.tar.gz)

The serialized SOAP Message misses the XML Declaration.

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message