summaryrefslogtreecommitdiffstats
path: root/branches
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-07-30 09:06:41 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-07-30 09:06:41 +0000
commit4a21b4e012ecc9706e1405fc8c3fbb8fc3157739 (patch)
tree416d01571afe5c9cd175caf447855e90ece27cae /branches
parentf3a8d11976d41f59db5afee2fa2df687a3de2872 (diff)
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
Diffstat (limited to 'branches')
-rw-r--r--branches/sca-java-1.x/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/RuntimeBuilder.java2
1 files changed, 1 insertions, 1 deletions
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);