www.digitalmars.com         C & C++   DMDScript  

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


           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

--- Comment #0 from Jacob Carlborg <doob me.com> 2010-06-26 06:32:26 PDT ---
Created an attachment (id=677)
Fixes the problem

Element element = new Element("br");

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