Monday, November 9, 2009

XMLParser cannot parse the £ symbol

Hello,

I am retrieving XML data from the Amazon UK api which returns XML
including a £ (GBP) sign. I found that XMLParser.parse(xmlText) will
throw an exception (com.google.gwt.xml.client.impl.DOMParseException:
Failed to parse ) unless i remove the £ signs from the XML.

I am hoping someone can explain why this happens? It doesn't seem to
make sense to me to have to pre-process the XML by removing the £
signs or adding CDATA sections - please let me know if there is a
better way.

Thanks!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate