dcsimg
How to ignore dtd when parsing?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Fanny_Yeung
Posted On:   Tuesday, June 18, 2002 10:22 AM

Testing

Hi,


I have a xml file included the dtd. I would like to ignore the dtd when parsing. Even I set the validating to false, it still look for the dtd file.


Can anyone have any idea how can I ignore the dtd file during parsing? The parser that I am using is Xerces2.


<?xml version = "1.0" encoding = "UTF-8"?>






Thanks in advance.

Fanny

Re: How to ignore dtd when parsing?

Posted By:   Moushmi_Banerjee  
Posted On:   Tuesday, June 18, 2002 11:23 AM

Before you start parsing for the actual content - find out the tag that has ".dtd" in it and ignore it.
About | Sitemap | Contact