[Home] [By Thread] [By Date] [Recent Entries]

  • From: Allen Chang <allen@d...>
  • To: xml-dev@l...
  • 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@r...]
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@m...



-----Original Message-----
From: Allen Chang [mailto:allen@d...]
Sent: Wednesday, October 04, 2000 3:05 PM
To: xml-dev@l...
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



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member