Hear us Roar
Article:
 |
|
XML Document Validation with an XML Schema
|
| Subject: |
|
Digester with xerces |
| Date: |
|
2007-10-01 00:48:11 |
| 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?
|
|
| |