https://issues.dlang.org/show_bug.cgi?id=16241
Issue ID: 16241
Summary: std.xml mistakenly disallows "==" in comments but
allows "--"
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
----
void main()
{
import std.xml;
auto doc1 = new Document("<r><!-- -- --></r>"); /* accepted */
auto doc2 = new Document("<r><!-- == --></r>"); /* rejected */
}
----
Should be the other way around. Seems like a simple typo in the code. Going to
make a PR.
--