[Other tools] gv2gxl does not escape XML strings, producing invalid XML
Ported Issue from Mantis Original ID: 2229 Reported By: rp
SEVERITY: NORMAL Submitted: 2012-05-09 15:36:08
PLATFORM: CYGWIN
DESCRIPTION
gv2gxl does not escape XML strings, producing invalid XML
STEPS TO REPRODUCE
sh> cat amp.dot
digraph G
{
"a" -> "b&c";
}
sh> dot -Tsvg amp.dot | fgrep node
<g id="node1" class="node"><title>a</title>
<g id="node3" class="node"><title>b&c</title>
sh> gv2gxl amp.dot | xmllint -
-:10: parser error : EntityRef: expecting ';'
<string>b&c</string>
^
sh>