diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-10 10:23:42 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-10 10:23:42 +0000 |
commit | bdffee9de1a3cbb551d65e108a26956152c4eb70 (patch) | |
tree | f79a232d16ac0d81583a09d870113f3341e6f772 /sca-java-1.x/trunk/modules/implementation-xquery | |
parent | 1303bb654471a586be4049978daba5a8fe221d71 (diff) |
TUSCANY-242 add URI specific processing wherever we read an anyURI attribute
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@921286 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/trunk/modules/implementation-xquery')
-rw-r--r-- | sca-java-1.x/trunk/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryImplementationProcessor.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sca-java-1.x/trunk/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryImplementationProcessor.java b/sca-java-1.x/trunk/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryImplementationProcessor.java index 12c478daea..854c760a54 100644 --- a/sca-java-1.x/trunk/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryImplementationProcessor.java +++ b/sca-java-1.x/trunk/modules/implementation-xquery/src/main/java/org/apache/tuscany/sca/implementation/xquery/xml/XQueryImplementationProcessor.java @@ -30,6 +30,7 @@ import org.apache.tuscany.sca.assembly.xml.Constants; import org.apache.tuscany.sca.contribution.Artifact; import org.apache.tuscany.sca.contribution.ContributionFactory; import org.apache.tuscany.sca.contribution.ModelFactoryExtensionPoint; +import org.apache.tuscany.sca.contribution.processor.BaseStAXArtifactProcessor; import org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor; import org.apache.tuscany.sca.contribution.resolver.ModelResolver; import org.apache.tuscany.sca.contribution.service.ContributionReadException; @@ -47,7 +48,7 @@ import org.apache.tuscany.sca.monitor.impl.ProblemImpl; * Processor for the XQuery implementation type artifact * @version $Rev$ $Date$ */ -public class XQueryImplementationProcessor implements StAXArtifactProcessor<XQueryImplementation> { +public class XQueryImplementationProcessor extends BaseStAXArtifactProcessor implements StAXArtifactProcessor<XQueryImplementation> { private static final String LOCATION = "location"; private static final String IMPLEMENTATION_XQUERY = "implementation.xquery"; @@ -94,7 +95,7 @@ public class XQueryImplementationProcessor implements StAXArtifactProcessor<XQue XQueryImplementation xqueryImplementation = null; /* Read the location attribute for the XQuery implementation */ - String xqueryLocation = reader.getAttributeValue(null, LOCATION); + String xqueryLocation = getURIString(reader, LOCATION); if (xqueryLocation != null) { xqueryImplementation = XQueryImplementationFactory.INSTANCE.createXQueryImplementation(); xqueryImplementation.setLocation(xqueryLocation); |