FileNotFoundException: root/SetElement [no such file or directory]
when i try to parse a XML file.
My XML file starts as follows
<?xml version="1.0" ?> <!DOCTYPE SetElement SYSTEM "SetElement.dtd" >
and i have put the SetElement.dtd in the working directory.
iam using JBuilder. On Windows it is searching for DTD file in the working directory and so works fine. But on Linux it is searching for the DTD file in the /root directory instead of working directory.
if your tasks is only parsing, and if you are not checking for Validation of xml against DTD, then you can turnoff the dtd validation in your parser using java code. I dont know what xml parser jbuilder is using, probably Xerces, if so Xerces support turning off dtd validation.
He puts the "turd" in "saturday". Speaking of which, have you smelled this tiny ad?
a bit of art, as a gift, that will fit in a stocking