commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reid Pinchback <>
Subject Re: [Digester] Schema validation?
Date Sun, 12 Sep 2004 00:01:45 GMT

Surprisingly, no unit test in the source exercising
this.  From what I can see from a quick scan of
the source, I think you'll want to make sure you
have a very recent version of Xerces-J at the front
of your classpath, so you'll know you have a parser
that understands how to validate against an XSD file.
Be sure to do:
   Digester d=new Digester(); 

before parsing.  I don't think you'll need to muck
around with the schemaLocation and schemaLocation
features/properties, if you have a recent Xerces-j,
but if you run into any problems, that is where I'd
start looking.


--- Neil Blue <> wrote:

> Hello,
> I though there would be a lot of posts on this, but
> I
> can't seem to find any. Is there a way to turn on
> schema validation when parsing an XML config file
> with
> Digester 1.6.
> Thanks
> Neil
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish. 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message