XML-encode HopObject name to prevent illegal XML to be produced.

This commit is contained in:
hns 2003-07-03 09:19:00 +00:00
parent 19d1f286e9
commit c48346b4bb

View file

@ -420,7 +420,7 @@ public class XmlWriter extends OutputStreamWriter implements XmlConstants {
}
write("\" name=\"");
write(node.getName());
write(HtmlEncoder.encodeXml(node.getName()));
write("\" prototype=\"");
write(getNodePrototype(node));
write("\" created=\"");