www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4394] New: std.xml prints empty elements as non-empty

http://d.puremagic.com/issues/show_bug.cgi?id=4394

           Summary: std.xml prints empty elements as non-empty
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Keywords: patch
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: doob me.com



Created an attachment (id=677)
Fixes the problem

Element element = new Element("br");
writeln(element);

The above code produces "<br></br>" and not the expected "<br />". The attached
patch fixes the problem.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 26 2010