Thursday, September 1, 2011

Aw: No source code is available for type javax.xml.parsers.DocumentBuilderFactory

In general you can only use Java classes on the client side (everything that is in your client and shared package) listed in: http://code.google.com/intl/de-DE/webtoolkit/doc/latest/RefJreEmulation.html

So you can not use most of the classes in your code on client side. 

You have to:
- use XMLParser (http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/xml/client/XMLParser.html)
- write your own client side string parser that converts the xml string to something you want to have 
- parse the XML on server side and ask the server for the information you need

I haven't used XMLParser yet but it seems to me that the xml string you want to parse isn't that long so I think it should work.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/aegt2NbIkfMJ.
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.

No comments:

Post a Comment