Hi,
It seems that GWT DOES escape the semicolon character but actually
this is a valid XML character and should not be escaped according to
http://www.w3.org/TR/REC-xml/#sec-references and
http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references
Here's a snippet of how this error can be reproduced:
<code>
public static String escapeXml(String xml) {
Document document= XMLParser.createDocument();
Text textNode= document.createTextNode(xml);
return textNode.toString();
}
</code>
calling this method with ";" yields ";". Semi is not defined as a
standard entity and thus produces errors in my backend.
Is this really a bug in the GWT XML parser or is my escaping method
wrong?
thanks for any feedback,
Dennis
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.