Hi,
I'm trying to parse an XML document using the XMLParser [1]. I need
the method getElementById(String), which requires to define the ID
attribute in an DTD. When using an internal DTD, everything works
fine. However, using an external DTD would be more convenient. The
problem is getElementById(String) does simply return NULL, when using
an external DTD.

My document is valid according to validome.org [2]. Is this a know
bug? I don't find anything about this, except this old thread from
2007:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/b04c0d8cb626240a/52639b68922b45ed?lnk=gst&q=DTD#52639b68922b45ed
However, I don't receive any exceptions....getElementById does just
return NULL.

The document:
http://www-users.rwth-aachen.de/Martin.Weusten/upload/shaders.xml
http://www-users.rwth-aachen.de/Martin.Weusten/upload/library.dtd

I'm using "gwt-linux-1.7.1".

best regards,
Coolcat

[1] com.google.gwt.xml.client.XMLParser
[2] 
http://www.validome.org/xml/validate/?lang=en&url=http://www-users.rwth-aachen.de/Martin.We
usten/upload/shaders.xml
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to