From ec429ffd2ce49aee0480f2043cf2cb34b81d88e8 Mon Sep 17 00:00:00 2001 From: slaws Date: Fri, 24 Jul 2009 17:39:15 +0000 Subject: TUSCANY-3178 read the validation schema extension point from the extension point registry rather than creating a local copy git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@797573 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/host/embedded/impl/ReallySmallRuntimeBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'branches/sca-java-1.x/modules/host-embedded/src/main') diff --git a/branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntimeBuilder.java b/branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntimeBuilder.java index 1111558c60..0f5aedfd75 100644 --- a/branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntimeBuilder.java +++ b/branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntimeBuilder.java @@ -191,7 +191,7 @@ public class ReallySmallRuntimeBuilder { modelFactories.addFactory(inputFactory); // Create a validation XML schema extension point - ValidationSchemaExtensionPoint schemas = new DefaultValidationSchemaExtensionPoint(); + ValidationSchemaExtensionPoint schemas = registry.getExtensionPoint(ValidationSchemaExtensionPoint.class); // Create a validating XML input factory XMLInputFactory validatingInputFactory = new DefaultValidatingXMLInputFactory(inputFactory, schemas, monitor); -- cgit v1.2.3