You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Laxman, Vidya" <VL...@Tilion.com> on 2000/07/25 20:40:35 UTC

RE: Checking for wellformedness!- BUG!

Hi Jeff,

	I tried this but this feature is not working!! The error that I get
is:

rg.xml.sax.SAXParseException: File
"file:/d:/xerces-1_1_0/samples/sax/src/sax/TacTransaction.dtd" not found.

	I also turned the setErrorHandler off and still get this error.
Thanks,
-Vidya
-----Original Message-----
From: Jeffrey Rodriguez [mailto:jeffreyr_97@hotmail.com]
Sent: Tuesday, July 25, 2000 2:36 PM
To: xerces-j-dev@xml.apache.org
Subject: Re: Checking for wellformedness!


Hi Vidya,

Before calling method parse from the SAX parser, use setFeature
to turn off validation.

parser.setFeature( "http://xml.org/sax/features/validation", false );


Thanks,
            Jeffrey Rodriguez
            IBM Silicon Valley
            XML Development





>From: "Laxman, Vidya" <VL...@Tilion.com>
>Reply-To: xerces-j-dev@xml.apache.org
>To: xerces-j-dev@xml.apache.org
>Subject: Checking for wellformedness!
>Date: Tue, 25 Jul 2000 14:17:12 -0400
>
>Hi,
>
>	I am using a SAX parser and I want to check the xml document for
>wellformedness only.  This XML document contains the DOCTYPE containing a
>DTD. Though I have used setFeature to turn the Validation off, the parser
>still seems to validate it. Any suggestions on how to turn the validation
>feature off?
>Thanks,
>-Vidya
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
>For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org