[
Lists Home |
Date Index |
Thread Index
]
- From: Allen Chang <allen@dejima.com>
- To: xml-dev@lists.xml.org
- Date: Wed, 04 Oct 2000 16:39:19 -0700
I see. Thanks, Jack. At least it LOOKED like an internet call. I tried both
"validation" and "Validation" as the first parameter but got
org.xml.sax.SAXNotRecognizedException: Validation
at
org.apache.xerces.framework.XMLParser.setFeature(XMLParser.java:1515)
at
org.apache.xerces.parsers.DOMParser.setFeature(DOMParser.java:659)
so, what should I use for the first parameter?
Thanks a lot!
-Allen
-----Original Message-----
From: Jack Lincoln [mailto:jack@ricochet.net]
Sent: Wednesday, October 04, 2000 3:28 PM
To: Allen Chang
Subject: RE: How Do I Turn On Validation Locally?
no it doesn't require an internet connection.
"http://xml.org/sax/features/validation"
is a feature identifier...
just as "validation" would be..
hope it helps..
jack
Jack Lincoln
XML Software Architect
mPower Advisors L.L.C.
1355 Sansome Street
San Francisco CA 94111
(415) 875-8840 direct
(415) 875-8821 fax
jack.lincoln@mpower.com
-----Original Message-----
From: Allen Chang [mailto:allen@dejima.com]
Sent: Wednesday, October 04, 2000 3:05 PM
To: xml-dev@lists.xml.org
Subject: How Do I Turn On Validation Locally?
Hi there!
I'm using org.apache.xerces.parsers.DOMParser and I'm supposed to turn on
validation with
parser.setFeature("http://xml.org/sax/features/validation",
true);
Does this require internet access? It seems to. How do I avoid having to
connect to the internet? We need to run it locally sometimes, but I can't
figure it out from the documentation or the books I have.
One book says I can refer to a local text file, but what do I say in that
file?
Thanks for your help in advance!
--Allen
|