axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabian Gerick (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Created: (AXIS-2463) XMLUtils.DocumentToString() creates wrong String representation
Date Fri, 14 Apr 2006 21:57:00 GMT
XMLUtils.DocumentToString() creates wrong String representation
---------------------------------------------------------------

         Key: AXIS-2463
         URL: http://issues.apache.org/jira/browse/AXIS-2463
     Project: Apache Axis
        Type: Bug

  Components: Basic Architecture  
    Versions: 1.3    
 Environment: java version "1.5.0_05"
    Reporter: Fabian Gerick


Parsing the following document:

<a>
    <b xmlns:pext="http://test" pext:x="x">
        <c xmlns:pext="http://test" pext:x="x"/>
    </b>
</a>

with org.apache.xerces.parsers.DOMParser() and converting it with XMLUtils.DocumentToString()
results in an invalid string representation of this Document:

<a>
    <b pext:x="x" xmlns:pext="http://test" xmlns:pext="http://test">
        <c pext:x="x"/>
    </b>
</a>

This causes problems when you want to re-build a document from it, e.g. using SAXBuilder.
 org.jdom.input.DOMBuilder in combination with org.jdom.output.XMLOutputter works just fine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message