Title: RE: Prevent Validation agains DTD of input file ??

Set the feature http://xml.org/sax/features/validation to false.

Chris Raber, Systems Engineer, AvantGo Inc.
http://www.avantgo.com/

-----Original Message-----
From: Nicholas Waltham [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 4:59 AM
To: [EMAIL PROTECTED]
Subject: Prevent Validation agains DTD of input file ??

Hello all,
 I am currently calling Xalan like this?

java org.apache.xalan.xslt.Process -in in.xml -xsl style.xsl -out out.xml

Obviously its vital the input XML file is well formed, but I would like to
have the option to not validate agains a DTD, even when the DTD to use is
specified in the XML file. How can I turn off this validation. If I don't
have the DTD file, it just stops and refuses to go any further.

Thanks in advance,
Nicholas Waltham

Reply via email to