www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1925] New: Not all xml empty tags are recognized

reply d-bugmail puremagic.com writes:
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);


-- 
Mar 15 2008
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1925


caron800 googlemail.com changed:

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




-- 
Apr 25 2008
prev sibling parent d-bugmail puremagic.com writes:
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


-- 
May 11 2008