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 bu...@apache.org on 2002/01/29 01:37:24 UTC
DO NOT REPLY [Bug 6081] New: -
DTD file not found
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6081>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6081
DTD file not found
Summary: DTD file not found
Product: Xerces2-J
Version: 2.0.0 [beta]
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: DTD
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: nnester@ca.ibm.com
When DOMParser parses an XML file through an InputSource, it does not see the
DTD file refered in the XML. Regardless where the location of the DTD file was,
it keeps responding "DTD file not found".
Adding one line of code just after the InputSource creation solved the problem:
inputSource.setSystemId("myFile.dtd"). The dtd had to be in some known system
location, though - like project resources in VAJ.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org