Hello -

I am little frustrated with GWT, firstly importing external jar in GWT
isn't trivial and secondly simple XML parsing doesnt work.

At this point, I dont care much about importing external jars and will
leave that for later.

What I dont understand is why simple XML parsing is not working ... I
am getting no compile time errors.. using GWT gwt-windows-1.5.3.

In my project .gwt.xml I added    <inherits
name="com.google.gwt.xml.XML" />

I am running in the hosted mode and it bombs with the exception:
java.lang.ClassCastException:
com.google.gwt.xml.client.impl.DocumentImpl cannot cast to
com.google.gwt.dom.client.Document

Even this doesn't work:
Document messageDom = (Document) XMLParser.parse("<?xml version='1.0'?
><message></message>");

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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to