mrglavas 2005/07/24 21:54:15
Modified: java/src/org/apache/xerces/impl/xs XMLSchemaLoader.java
Log:
Fixing a bug. When the JAXP schema location property is set,
schema full checking errors were being reported to a local
error reporter which from a parsing context didn't contain the
application's error handler. Errors reported in this context
would always be reported using the default error handler
which writes to the console.
Revision Changes Path
1.42 +4 -1
xml-xerces/java/src/org/apache/xerces/impl/xs/XMLSchemaLoader.java
Index: XMLSchemaLoader.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/xerces/impl/xs/XMLSchemaLoader.java,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- XMLSchemaLoader.java 15 May 2005 23:55:28 -0000 1.41
+++ XMLSchemaLoader.java 25 Jul 2005 04:54:15 -0000 1.42
@@ -941,6 +941,9 @@
// the entity manager property is null
fEntityManager =
(XMLEntityManager)componentManager.getProperty(ENTITY_MANAGER);
+ // get the error reporter
+ fErrorReporter =
(XMLErrorReporter)componentManager.getProperty(ERROR_REPORTER);
+
boolean psvi = true;
try {
psvi = componentManager.getFeature(AUGMENT_PSVI);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]