Changeset 7:1ad3ce912012 in rrlib_xml-java


Ignore:
Timestamp:
10.12.2014 19:56:23 (7 years ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
14.08
Phase:
public
Message:

Bugfix in XMLDocument class: root node did not get specified name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLDocument.java

    r5 r7  
    164164            throw new XMLException("Root node already exists"); 
    165165        } 
    166         Element root = document.createElement("root"); 
     166        Element root = document.createElement(name); 
    167167        document.appendChild(root); 
    168168        rootNode = new XMLNode(document, root); 
Note: See TracChangeset for help on using the changeset viewer.