axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabian Gerick (JIRA)" <>
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
     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:

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

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

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

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:
For more information on JIRA, see:

View raw message