[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: How Do I Turn On Validation Locally?

  • From: Allen Chang <allen@d...>
  • To: xml-dev@l...
  • Date: Wed, 04 Oct 2000 16:39:19 -0700

domparser setfeature
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



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.