Hello!

I know this isn't exactly JBoss related problem, but as I run to it when
using Jboss/cocoon2 I thought that someone might now the answer on this
list..

Consider this:  I am using any xml-document on my app (doesn't matter what
document) and my xml-document includes a DTD declaration. This
declaration may be for example 
http://java.sun.com/j2ee/dtds/web-app_2.2.dtd

If the reference to the DTD is URL (like shown) does the parser try to
fetch it from that URL? I got a hefty stack of errors when trying to start
Cocoon2 webapp, and the cause was 
        "org.xml.sax.SAXParseException: File
        "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd"; not found."

..and as you may know, you can't get that file from that URL either.

What am I missing here? If there is a "strange" dtd declaration, that you
can't get from anywhere, how can you parse your xml-document?

..still wondering.

Timo 


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to