|Re: XML Validation against DTD [message #741424 is a reply to message #741403]
||Wed, 19 October 2011 14:08
| Ed Merks
Registered: July 2009
This question has nothing to do with the XSD model. It doesn't even |
sound like an Eclipse question. Or are you using Eclipse's Web Tools
project? In that case, you'd be better to ask on the WTP newsgroup.
On 19/10/2011 3:52 PM, sivasankarir wrote:
> I use DOM parser to parse XML file. In the XML, DTD file name will be
> mentioned as shown below, against which validation has to be done.
> <!DOCTYPE XMI SYSTEM "sample.dtd">
> The sample.dtd file with the same name will be placed in the same
> folder where xml file is placed. If the dtd file's name is exactly as
> given in the xml, parsing and validation works fine.
> I want the parser to parse the xml file without considering dtd file
> name's case, ie, it should parse if either sample.DTD or sample.dTD is
> This works in windows, but in linux, it throws IOException saying the
> dtd file with the exact name is not present. Is there a solution for
> Thanks for reading!
Powered by FUDForum
. Page generated in 0.20083 seconds