File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Product and Other Certifications and the fly likes XML parser search for DTD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "XML parser search for DTD" Watch "XML parser search for DTD" New topic
Author

XML parser search for DTD

Rajendra Auradkar
Greenhorn

Joined: Jan 28, 2004
Posts: 5
I am using Struts and the the XML config files refer to the DTD that are stored locally on the same directory as the XML files. I refer to the DTD files from the XML using SYSTEM and the the name of the DTD file without any path element. I am using the Xerxex parser. The parser does not find the DTD and complains of a missing base URL. What am I doing wrong?
More importantly, can someone tell me what rules the parser uses when searching for a DTD in a web application as the web applications are hosted by a web container and have only the concept of a context root for its file system.
Thanks in advance,
Raj Auradkar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML parser search for DTD
 
Similar Threads
DTD refrence problem
Validating XML using a DTD packaged in a JAR file....
path to dtd???xerces1.2.3
Validating XML using a DTD packaged in a JAR file....
DTD seach path for Xerxes parser