I am trying to parse a XML file with JAXP.
Now what's happening to me ..that ..... the XML file is having some DTD which specifies a site DTD definition ....
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.s ourceforge.net/dtds/jasperreport.dt d">
So right now Connection refused error is coming.
I know why it's coming .... But I want to put off the DTD parsing how could i do that.
One more thing if a DTD is of site then having no net connection validation can't be done ...????
What should be validation code for that .....
Debasis Jana.
Now what's happening to me ..that ..... the XML file is having some DTD which specifies a site DTD definition ....
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.s ourceforge.net/dtds/jasperreport.dt d">
So right now Connection refused error is coming.
I know why it's coming .... But I want to put off the DTD parsing how could i do that.
One more thing if a DTD is of site then having no net connection validation can't be done ...????
What should be validation code for that .....
Debasis Jana.
Comment