Lists Home |
Date Index |
- From: Jim Sweeney <email@example.com>
- To: "'firstname.lastname@example.org'" <email@example.com>
- Date: Wed, 26 Jan 2000 08:15:22 -0800
My original question was a little confusing, so I'm posting a clarification
I sent to Bill:
Yes, the DTD exists in the directory specified by an absolute path such as:
<!DOCTYPE foo SYSTEM "c:\xml\dtd\foo.dtd">
but if the XML file with the above reference is in c:\xml\files\, I get a
"FileNotFoundException: c:\xml\files\c:\xml\dtd\foo.dtd" when I attempt to
execute "java SAXApp file:///C:/xml/files/foo.xml"
if I change the DOCTYPE reference to:
<!DOCTYPE foo SYSTEM "foo.dtd">
it finds the DTD and the document is parsed. It's like the application is
hardwired to assume the system id is a relative path. I'd like to know how
to make my SAX/XP app accept an absolute DTD path.
> -----Original Message-----
> From: Sparkman Bill [mailto:Sparkman_Bill@ems.prc.com]
> Sent: Tuesday, January 25, 2000 1:24 PM
> To: 'Jim Sweeney'
> Subject: RE: SAX newbie Q : absolute DTD path in system id
> Hi jim:
> I'm confused.
> Does the DTD exist?
> Is it where the dtd tag in the xml file says it will be?
> It does not seem like you should be getting an error like this.
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1
Unsubscribe by posting to email@example.com the message
unsubscribe xml-dev (or)
unsubscribe xml-dev your-subscribed-email@your-subscribed-address
Please note: New list subscriptions now closed in preparation for transfer to OASIS.