Article:
  XML Document Validation with an XML Schema
Subject:   Digester with xerces
Date:   2007-10-01 00:48:22
From:   rayon
Hi,
I use Digester version 1.5 and xerces
i defined default in my xsd. when parsing the xml i don't get them.


Code:
digester.setFeature("http://xml.org/sax/features/validation",true);
digester.setFeature("http://apache.org/xml/features/validation/schema",true);
digester.setFeature("http://apache.org/xml/features/validation/schema-full-checking",true);
digester.setProperty("http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation","Statistics.xsd");


The feature ://digester.setFeature("http://apache.org/xml/features/validation/normalize-attribute-values",true); is not regognized by xerces.


What can i do?

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • Digester with xerces
    2007-10-01 10:07:37  Deepak Vohra | [View]

    normalize-attribute-values
    is not supported by Xerces.
    The features that are supported are:
    http://xerces.apache.org/xerces-j/features.html