Re: Reg URI.

Hi,
I am working on XML and servlets.I am facing a small problem and thought
probably u could help me. The problem is as below: I have an XML file called
Logon.xml which refers to a DTD xyz.dtd as follows <!DOCTYPE MyRootElement
SYSTEM "c:\workfolder\xyz.dtd"> Both the XML and DTD files are in the in
different directory.But when my Java code tries to parse the XML document I
get the below error. org.xml.sax.SAXParseException: Relative URI
"Logon.dtd"; can not be resolved without a document URI Could u suggest a
possible solution.

Thanks,
Purnima.

Received on Wednesday, 26 March 2003 23:21:24 UTC