[jdom-interest] Relative URI and Document URI

Peter Donn PDonn at orygen.com
Wed Sep 26 05:43:28 PDT 2001


Hi
I'm reading in an XML file into a JDOM using Crimson and get the following
error:

Root cause: org.xml.sax.SAXParseException: Relative URI
"I:\ApplicationXmlFiles\TempDTD.dtd"; can not be resolved without a document
URI.
	java.lang.Throwable(java.lang.String)
	java.lang.Exception(java.lang.String)
	org.xml.sax.SAXException(java.lang.String, java.lang.Exception)
	org.xml.sax.SAXParseException(java.lang.String, org.xml.sax.Locator,
java.lang.Exception)

The top of the XML document looks like:

<!DOCTYPE application SYSTEM "I:\ApplicationXmlFiles\TempDTD.dtd">

I'm new to XML - please tell me 1) What's a document URI (as against a
relative URI which to me looks quite absolute in the above case) and 2) How
do I correct the problem!

Cheers
Peter.




**********************************************************************
Privileged, confidential and/or copyright information may be contained
in this e-mail. This e-mail is for the use only of the intended
addressee. If you are not the intended addressee, or the person
responsible for delivering it to the intended addressee, you may not
copy, forward, disclose or otherwise use it or any part of it in any
way whatsoever. To do so is prohibited and may be unlawful.

If you receive this e-mail by mistake please advise the sender
immediately by using the reply facility in your e-mail software.

Orygen (UK) Limited may monitor the content of e-mails sent and
received via its network for the purposes of ensuring compliance with
its policies and procedures.

This message is subject to and does not create or vary any contractual
relationship between Orygen (UK) Limited and you
**********************************************************************





More information about the jdom-interest mailing list