Summary: std.xml.check() fails on xml comments
           Product: D
           Version: 2.030
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

std.xml.check() seems not to recognize the end of an xml comment. For example,
when the following code is run with the given data file it produces the error
messages shown below.


import std.xml;

void main()
    string s = cast(string)"data.xml");



<?xml version="1.0"?>
    <!-- comment -->

Output messages:

Line 5, column 16: Expected literal "-->"
Line 5, column 16: Literal
Line 4, column 5: Comment
Line 4, column 5: Content
Line 2, column 1: Element
Line 1, column 1: Document

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to