It occurs to me that you might need to know which features I have turned on:

      parser.setFeature( "http://xml.org/sax/features/validation";, true );
      parser.setFeature( "http://apache.org/xml/features/validation/schema";,
true );
      parser.setFeature( "http://xml.org/sax/features/namespaces";, true );

Also, my feed from this list seems to have died on 6/11, and lasted through
6/12. If anyone had suggestions to my problem during that time, please email
it to me directly.

Thanks,

RKW

-----Original Message-----
From: Keith Welch [mailto:[EMAIL PROTECTED]
Sent: Monday, June 11, 2001 4:57 PM
To: '[EMAIL PROTECTED]'
Subject: Entity Resolution with XML Schema




All,

I have been trapping EntityResolver.resolveEntity() in a class that
implements the EntityResolver interface, and performs some special actions
in resolving each entity. This has been working for months. Now, I want to
do the same thing with documents to be validated with XML Schema. I turned
on what appear to be the appropriate switches. When I try to parse ,
however, my error handler class gives me this sad tale:

Error! in null Element type "a" must be declared.
Error! in null Element type "b" must be declared.
Error! in null Element type "c" must be declared.
Error! in null Element type "d" must be declared.
Error! in null Element type "e" must be declared.
Error! in null Element type "f" must be declared.
Error! in null Element type "g" must be declared.

This is not so bad. However, my handler for EntityResolver.resolveEntity()
is not even getting called! Do I need to implement another interface to do
this for XML Schema, is this just not implemented yet, or am I simply on the
wrong track?

Thanks,

Keith Welch
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to