From 4a21b4e012ecc9706e1405fc8c3fbb8fc3157739 Mon Sep 17 00:00:00 2001 From: slaws Date: Thu, 30 Jul 2009 09:06:41 +0000 Subject: TUSCANY-3178 read the validation schema extension point from the extension point registry rather than creating a local copy. Same change as before but in node to be consistent with host embedded git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@799210 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/tuscany/sca/node/impl/RuntimeBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'branches') diff --git a/branches/sca-java-1.x/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/RuntimeBuilder.java b/branches/sca-java-1.x/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/RuntimeBuilder.java index fe05a93992..f609e15c5c 100644 --- a/branches/sca-java-1.x/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/RuntimeBuilder.java +++ b/branches/sca-java-1.x/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/RuntimeBuilder.java @@ -176,7 +176,7 @@ public class RuntimeBuilder { XMLInputFactory inputFactory = modelFactories.getFactory(XMLInputFactory.class); // 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