You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Leibundguth, Jonathon" <jl...@doghouse.com> on 2000/12/11 22:50:36 UTC

DOCTYPE Path

The following is a message I posted to the JDOM interest group.  I was
redirected here
by Jason Hunter.

I've noticed JDOM / Xerces does not parse relative paths well when building
(SAXBuilder) the
DOCTYPE of a document:  the url, file:///... will work fine assuming that
the JVM
started from the same drive on your computer, however, file://c:/... won't
work,
and neither will relative paths like "../../somedtd.dtd".  This becomes a
burden
when the number of xml files increase and absolute paths must be used!  
It becomes a huge burden when you are developing an entire web-site
application based on
hundreds of these files which must be installed in different environments.

I've noticed the same problem with the xsl-stylesheet processing instruction
in xalan.  Has anyone
encountered this problem? are there any workarounds? is my understanding of
this
subject correct?

J.P. Leibundguth  <<...OLE_Obj...>> 
FCG Doghouse                     
571.633.8645 D