digitalmars.D.bugs - [Issue 3088] New: std.xml.check() fails on xml comments
- d-bugmail puremagic.com (39/39) Jun 23 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3088
- d-bugmail puremagic.com (6/6) Oct 19 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3088
- d-bugmail puremagic.com (10/10) May 23 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3088
- d-bugmail puremagic.com (11/11) May 23 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3088
http://d.puremagic.com/issues/show_bug.cgi?id=3088 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 AssignedTo: nobody puremagic.com ReportedBy: andrew.talbot talbotville.com 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. prog.d: import std.xml; void main() { string s = cast(string)std.file.read("data.xml"); check(s); } data.xml: <?xml version="1.0"?> <set> <one>A</one> <!-- comment --> <two>B</two> </set> 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 23 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3088 05:46:26 PDT --- Changed this to all, because it happens over here (x86) too. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 19 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3088 Shin Fujishiro <rsinfu gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |rsinfu gmail.com AssignedTo|nobody puremagic.com |rsinfu gmail.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 23 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3088 Shin Fujishiro <rsinfu gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Fixed in svn r1549. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 23 2010