bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/26863] New: Invalid XML in gnu.java.util.prefs.NodeWriter


From: johnandtina at byu dot net
Subject: [Bug classpath/26863] New: Invalid XML in gnu.java.util.prefs.NodeWriter.writeRoot()
Date: 25 Mar 2006 03:16:19 -0000

This code has a slash at the end of the opening <root> tag, but also has a
closing </root> tag.

    private void writeRoot() throws BackingStoreException, IOException {
        bw.write("  <root type=\"");
        if (prefs.isUserNode()) {
            bw.write("user"); 
        } else {
            bw.write("system");
        }
        bw.write("\"/>");

        writeRootMap();
        writeNode();

        bw.write("  </root>");
        bw.newLine();
    }


-- 
           Summary: Invalid XML in
                    gnu.java.util.prefs.NodeWriter.writeRoot()
           Product: classpath
           Version: 0.90
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: johnandtina at byu dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26863





reply via email to

[Prev in Thread] Current Thread [Next in Thread]