Newbie question in XML parsing using Xerces APIs

webmasterbeta

New Member
Hi All,I have a java application which parses an xml into a DOM tree.The first line of xml reads as follows:<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE egateway.tm.ObjectAttributeValueChangeNotificationSYSTEM"http://cscim1.sbc.com/eia/bis/TM/GatewayTM2.0.dtd>Now, when I parse the XML, I get a parsing exception as follows:** Parsing error, line 1, uri nullExternal entity not found: "http://cscim1.sbc.com/eia/bis/TM/GatewayTM2.0.dtd.contained Exception: java.net.UnknownHostException: cscim1.sbc.comIs there any way to make the parser ignore this.Any info in this regard will be extremely helpful.Thanks in advance,Rahul
 
Back
Top