You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Clóvis Wichoski <cw...@gmail.com> on 2011/02/02 20:34:01 UTC

XML declaration attributes comes with single quote, how to get double quote

Hi,

A axis2 webservice allways return XML declaration attributes with single
quote, some editors validators, suggest to change to double quote, like:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Wed, 02 Feb 2011 18:57:35 GMT

<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/">...

vould be better if changed to:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Wed, 02 Feb 2011 18:57:35 GMT

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/">...

any way to configure this thing in axis2?

best regards

Clóvis