You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Shane Curcuru <sh...@yahoo.com> on 2002/03/20 15:31:35 UTC

Re: org.xml.sax.SAXParseException: Relative URI "panel.dtd"; can not be resolved without a document

Thanks for the other helpful suggestions.  You might also ask on the
xerces list since actually getting the DTD is the parser's
responsibility, not the transformer's.

Also: check exactly what you're putting for the DTD location.  Your
last stacktrace shows that it's looking for an absolute path to the DTD

> java.io.FileNotFoundException: \panel.dtd (The system cannot find the
file specified

since there's a leading '\' on there.  If you're in a server context,
this may well map to somewhere unexpected on the server, since either
the http server or the servlet engine or someone else may be
translating the path.
(Also, remember this should probably be a URI reference, not a local
file path.  URI's always use forward / slashes for separators, never backslashes)

=====
- Shane

<eof aka="mailto:shane_curcuru@us.ibm.com"
 .sig="Du sublime au ridicule il n'y a qu'un pas." />

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/