Problem parsing XML with DTD definition

23 views
Skip to first unread message

Hermod

unread,
Sep 28, 2007, 12:53:33 AM9/28/07
to Google Web Toolkit
Hi

I am using the XMLParser to parse an XML response from a server. The
XML response contains a DOCTYPE definition:

<!DOCTYPE PerformanceMonitor SYSTEM "/wasPerfTool/dtd/
performancemonitor.dtd">

and that causes the XMLParser to throw an exception:

[TRACE] The development shell servlet received a request for 'dtd/
performancemonitor.dtd' in module 'wasPerfTool'
[ERROR] Unable to find 'wasPerfTool.gwt.xml' on your classpath; could
be a typo, or maybe you forgot to include a classpath entry for
source?

Is this intentional, or is it an error that it maps the DOCTYPE to a
module?

Hermod

Peter Blazejewicz

unread,
Sep 28, 2007, 6:40:43 PM9/28/07
to Google Web Toolkit
hi Hermond,
I don't know, but just wonder: what would happend if you put your .dtd
into "/wasPerfTool/dtd/
performancemonitor.dtd" path within static "public" resource folder so
it will be found in hosted mode by used xml parser?

regards,
Peter

Reply all
Reply to author
Forward
0 new messages