I believe validation is off by default. If you have the latest code, you
can call XalanTransformer::setUseValidation() and
XalanTransformer::getUseValidation() to query and control validation.
However, this will not stop Xerces from trying to open the DTD specified by
the DOCTYPE. There are many reasons for this behavior, and you can search
the Xerces mail archives for endless amounts of discussion as to why that's
the case.
Dave
"Avula, Raj"
<RAvula@firstam. To: "'[EMAIL PROTECTED]'"
<[EMAIL PROTECTED]>
com> cc:
Subject: Trun-Off Validation for input
XML file(Xalan C++).
12/21/2001 04:24
PM
Please respond
to xalan-dev
Hi,
I have XML String with DOCTYPE decleration.
I want to turn of the validation of input xml with the dtd while
transformation.
I am using XalanTransformer class. If there any way I can do that.
Thanks,
Raj..
"MMS <firstam.com>" made the following
annotations on 12/21/01 13:25:28
------------------------------------------------------------------------------
"THIS E-MAIL MESSAGE AND ANY FILES TRANSMITTED HEREWITH, ARE INTENDED
SOLELY FOR THE USE OF THE INDIVIDUAL(S) ADDRESSED AND MAY CONTAIN
CONFIDENTIAL, PROPRIETARY OR PRIVILEGED INFORMATION. IF YOU ARE NOT THE
ADDRESSEE INDICATED IN THIS MESSAGE (OR RESPONSIBLE FOR DELIVERY OF THIS
MESSAGE TO SUCH PERSON) YOU MAY NOT REVIEW, USE, DISCLOSE OR DISTRIBUTE
THIS MESSAGE OR ANY FILES TRANSMITTED HEREWITH. IF YOU RECEIVE THIS
MESSAGE IN ERROR, PLEASE CONTACT THE SENDER BY REPLY E-MAIL AND DELETE THIS
MESSAGE AND ALL COPIES OF IT FROM YOUR SYSTEM."
==============================================================================