Hi, not validating is different from not reading the dtd. You still have to resolve entities etc. So this is correct behaviour.
Cheers, Gareth On Mon, 22 Dec 2003, Purdy, Edgar M wrote: > If I leave the .dtd file in the debug directory, and change the switch to -v=never, > the DOMPrint sample runs completely through to normal completion. > If I remove the .dtd file from the directory DomPrint gives a run time error. > I wonder if the -v=never is being processed correctly? > > Ed > > -----Original Message----- > From: Denny Vrandecic [mailto:[EMAIL PROTECTED] > Sent: Monday, December 22, 2003 9:45 AM > To: [EMAIL PROTECTED] > Subject: Re: DTD validation in DOMPrint > > > You don't need to change the code. Try using the option -v=never instead. > Does this help? > > > I am experimenting with the DOMPrint sample code. > > > > I am making the assumption that the XML string is valid. > > What changes do I make in the DOMPrint code to bypass the DTD validation > sequence???? > > > > Thanks > > > > Ed Purdy > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- Gareth Reakes, Head of Product Development +44-1865-203192 DecisionSoft Limited http://www.decisionsoft.com XML Development and Services --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]