[EMAIL PROTECTED] wrote:
Hello:
subclasses as arguments. This should work right?
Well, my code parses just the same as before except
for the error callbacks. These callbacks do not trigger
when I introduce errors into my XML. However, I know
that my schema is still processing and validating
because parsing will terminate at schema errors. This
See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11323
or try the attached patch
it only seems to be a problem for schema validation
cheers
Loz
--- xerces-2_0_2.orig/src/org/apache/xerces/impl/xs/traversers/XSDHandler.java
Wed Jul 31 16:12:02 2002
+++ xerces-2_0_2/src/org/apache/xerces/impl/xs/traversers/XSDHandler.java
Wed Jul 31 15:58:42 2002
@@ -1497,7 +1497,7 @@
// than checking its value. Don't set the ERROR_HANDLER
// property unless it's actually changed.
if (currErrorHandler
- == fSchemaParser.getProperty(ERROR_HANDLER)) {
+ != fSchemaParser.getProperty(ERROR_HANDLER)) {
fSchemaParser.setProperty(ERROR_HANDLER, currErrorHandler);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]