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();
d.setNamespaceAware(true);
d.setValidating(true);
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.
Reid
--- Neil Blue <[EMAIL PROTECTED]> 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
> http://mail.yahoo.com
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]