digitalmars.D.bugs - [Issue 11005] New: std.xml does not encode attributes
- d-bugmail puremagic.com (34/34) Sep 10 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11005
- d-bugmail puremagic.com (10/10) Sep 10 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11005
- d-bugmail puremagic.com (9/9) Sep 10 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11005
http://d.puremagic.com/issues/show_bug.cgi?id=11005 Summary: std.xml does not encode attributes Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: r.sagitario gmx.de PDT --- This program: import std.xml; import std.stdio; void main() { string s = `<tag attr=""value>"></tag>`; auto doc = new Document(s); writeln("attr = ", doc.tag.attr["attr"]); writeln(doc); } compiles and runs with output attr = "value> <tag attr=""value>" /> The expected output is attr = "value> <tag attr=""value>" /> The xml writer does not encode " and < of the stribute string (actually, it decaodes them again). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 10 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11005 Rainer Schuetze <r.sagitario gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull PDT --- https://github.com/D-Programming-Language/phobos/pull/1558 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 10 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11005 Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/e1ed1ae8a888af2622aa31aa8963b95af895f950 Issue 11005 - std.xml does not encode attributes -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 10 2013