This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Consider Paul's rocket mass heater.
 
subject: XML parser search for DTD
 
Similar Threads
DTD refrence problem
DTD seach path for Xerxes parser
Validating XML using a DTD packaged in a JAR file....
Validating XML using a DTD packaged in a JAR file....
path to dtd???xerces1.2.3