Why is the XMLParser not returning a org.w3c.dom.Document ?

20 views
Skip to first unread message

stuckagain

unread,
Jun 10, 2011, 4:36:08 AM6/10/11
to google-we...@googlegroups.com
Hello,
 
XML support in GWT is quite substandard. Why did the GWT devs not base the implementation on the org.w3c.dom interfaces ? Just like the JRE emulation classes they could have done that and make it possible to share code between client and server when using Documents.
 
Namespace support in the current implementation is also lacking. I know that the native browser XML support is very minimal, but it would have been very easy to add Namespace aware operations from org.w3c.dom (depending on the browser).
 
Any idea if there will be a more focus on improving this part of GWT ? Not everything is working with JSON or GWT-RPC.
 
I created an issue for this:
 
David
 

Harald Pehl

unread,
Jun 10, 2011, 5:03:11 AM6/10/11
to google-we...@googlegroups.com
Hi David, 

feel free to take a look at Taoki: http://code.google.com/p/totoe/. It contains an XML parser with namespace support. Although it does not implement org.w3c.dom.Document it tries to be as close as possible. 

There's also a little test app. You can use it to quickly check whether it meets your requirements: http://totoe-tester.appspot.com/

- Harald
 
Reply all
Reply to author
Forward
0 new messages