Subject:Xerces Problem Author:Lisa Seaburg Date:31 Aug 2005 10:58 AM
I am writing a schema from scratch using Stylus, I can validate using the internal parsers, all except the Xerces. I get the following error message, is there something I need to do to fix this?
Xerces Java 2 Validation Starting.
file:///c:/Documents%20and%20Settings/556813/My%20Documents/Schema/EngineeringAuthorization/EAv1.1/EA-v1-1.xsd:5,168: (Error) cvc-elt.1: Cannot find the declaration of element 'xsd:schema'.
Subject:Xerces Problem Author:Ivan Pedruzzi Date:31 Aug 2005 12:56 PM
Hi Lisa
Only the built-in validator and XSV let you validate XML schemas.
If you need to use XercesJ you have to use a XML instance that reference your schema.