From 378334a0a8a58b3d7cf16e32947f1a07de79b996 Mon Sep 17 00:00:00 2001 From: mrglavas Date: Sat, 4 Jun 2005 03:50:04 +0000 Subject: [PATCH] Make default schema factory the one that exists in Xerces CVS. git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226224 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/javax/xml/validation/SchemaFactoryFinder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/external/src/javax/xml/validation/SchemaFactoryFinder.java b/java/external/src/javax/xml/validation/SchemaFactoryFinder.java index 760697b..0af2ac1 100644 --- a/java/external/src/javax/xml/validation/SchemaFactoryFinder.java +++ b/java/external/src/javax/xml/validation/SchemaFactoryFinder.java @@ -241,9 +241,9 @@ class SchemaFactoryFinder { } // platform default - if(schemaLanguage.equals("http://www.w3.org/2001/XMLSchema")) { + if (schemaLanguage.equals("http://www.w3.org/2001/XMLSchema")) { debugPrintln("attempting to use the platform default XML Schema validator"); - return createInstance("org.apache.xerces.jaxp.validation.xs.SchemaFactoryImpl"); + return createInstance("org.apache.xerces.jaxp.validation.XMLSchemaFactory"); } debugPrintln("all things were tried, but none was found. bailing out.");