On Thu, 22 Feb 2001, Michael Duffy wrote:
> I've got a few features turned on:
>
> parser.setFeature("http://xml.org/sax/features/validation",
> true);
>
> parser.setFeature("http://apache.org/xml/features/validation/dynamic",
> true);
>
> parser.setFeature("http://apache.org/xml/features/validation/schema",
> true);
>
> parser.setErrorHandler(new SchemaErrorHandler());
>
> Any other thoughts would be appreciated. Thanks for
> your help. - MOD
You need the namespaces feature turned on as well for validation to work.
Ian
--
Ian Roberts, Software Engineer DecisionSoft Ltd.
tel: +44-1865-203192 http://www.decisionsoft.com