Thread overview
[Issue 1925] New: Not all xml empty tags are recognized
Mar 15, 2008
d-bugmail
Apr 25, 2008
d-bugmail
May 11, 2008
d-bugmail
March 15, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1925

           Summary: Not all xml empty tags are recognized
           Product: D
           Version: 2.012
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: ar_other@mail.ru


If empty tag in xml document doesn't have space before '/' symbol parser treats is as a start tag. E.g. <b/> is recognized as a start tag which name is 'b/', but <b /> is parsed correctly.

It seems that '/' symbol must be added to string "^>" in line #786 in
std\xml.d.
  name = munch(s,"^>"~whitespace);
=>
  name = munch(s,"^>/"~whitespace);


-- 

April 25, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1925


caron800@googlemail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




-- 

May 11, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1925





------- Comment #2 from bugzilla@digitalmars.com  2008-05-11 04:15 -------
Fixed dmd 2.013


--