Hello all,
I just like my xml file to be validated against the schema, I create
the schema
using XML Spy, so I use the ff code:
parser.setFeature( "http://xml.org/sax/features/validation",true);
parser.setFeature( "http://xml.org/sax/features/namespaces",true );
parser.setFeature(
"http://apache.org/xml/features/validation/schema",true);
but my error handler returns :Error] processed.xml:64:11: Element type
"B0022"
must be declared
I'm using xerces 1.4. I try to use Samples/SAX2Count.java but the same
error
occur.
Can somebody help me? Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]