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 "Rathi, Pradeep" <pr...@documentum.com> on 2001/03/05 19:38:47 UTC
Likely bug when resolving relative paths for SYSTEM identifiers
Hi,
If you've the following DOCTYPE declaration
<!DOCTYPE foo SYSTEM "..\..\..\..\bar.dtd">
in a xml file that is residing at some root level directory i.e. for
instance "C:\", the xerces-j parser (1.3.0) does not terminate. The problem
is most likely that the SYSTEM identifer cannot be resolved i.e. the
relative path of the DTD with respect to "C:\" actually does not exist.
Unfortunately even if you do not want to do validation, the parser still
tries to resolve the path.
Thanks,
Pradeep