From 721164d4dd97c87d8c19dd5c8a07ae4c46f4f817 Mon Sep 17 00:00:00 2001 From: lresende Date: Thu, 5 Mar 2009 00:07:49 +0000 Subject: Updates to implementation-bpel to use OASIS namespaces/schema git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@750245 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/implementation/bpel/xml/BPELImplementationProcessor.java | 6 +++--- ....apache.tuscany.sca.contribution.processor.StAXArtifactProcessor | 2 +- .../implementation/bpel/BPELImplementationProcessorTestCase.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'java/sca/modules/implementation-bpel') diff --git a/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/xml/BPELImplementationProcessor.java b/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/xml/BPELImplementationProcessor.java index 92c38123a1..138dfa8201 100644 --- a/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/xml/BPELImplementationProcessor.java +++ b/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/xml/BPELImplementationProcessor.java @@ -65,10 +65,10 @@ import org.apache.tuscany.sca.monitor.Problem.Severity; * @version $Rev$ $Date$ */ public class BPELImplementationProcessor extends BaseStAXArtifactProcessor implements StAXArtifactProcessor { - private static final String SCA10_NS = "http://www.osoa.org/xmlns/sca/1.0"; + private static final String SCA11_NS = "http://docs.oasis-open.org/ns/opencsa/sca/200712"; private static final String PROCESS = "process"; private static final String IMPLEMENTATION_BPEL = "implementation.bpel"; - private static final QName IMPLEMENTATION_BPEL_QNAME = new QName(SCA10_NS, IMPLEMENTATION_BPEL); + private static final QName IMPLEMENTATION_BPEL_QNAME = new QName(SCA11_NS, IMPLEMENTATION_BPEL); private AssemblyFactory assemblyFactory; private BPELFactory bpelFactory; @@ -149,7 +149,7 @@ public class BPELImplementationProcessor extends BaseStAXArtifactProcessor imple //FIXME Deal with policy processing... // Write // policyProcessor.writePolicyPrefixes(bpelImplementation, writer); - writer.writeStartElement(SCA10_NS, IMPLEMENTATION_BPEL); + writer.writeStartElement(SCA11_NS, IMPLEMENTATION_BPEL); // policyProcessor.writePolicyAttributes(bpelImplementation, writer); if (bpelImplementation.getProcess() != null) { diff --git a/java/sca/modules/implementation-bpel/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor b/java/sca/modules/implementation-bpel/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor index 03ef3e3a7f..58eef6eb4b 100644 --- a/java/sca/modules/implementation-bpel/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor +++ b/java/sca/modules/implementation-bpel/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor @@ -16,4 +16,4 @@ # under the License. # Implementation class for the artifact processor extension -org.apache.tuscany.sca.implementation.bpel.xml.BPELImplementationProcessor;qname=http://www.osoa.org/xmlns/sca/1.0#implementation.bpel,model=org.apache.tuscany.sca.implementation.bpel.BPELImplementation \ No newline at end of file +org.apache.tuscany.sca.implementation.bpel.xml.BPELImplementationProcessor;qname=http://docs.oasis-open.org/ns/opencsa/sca/200712#implementation.bpel,model=org.apache.tuscany.sca.implementation.bpel.BPELImplementation \ No newline at end of file diff --git a/java/sca/modules/implementation-bpel/src/test/java/org/apache/tuscany/sca/implementation/bpel/BPELImplementationProcessorTestCase.java b/java/sca/modules/implementation-bpel/src/test/java/org/apache/tuscany/sca/implementation/bpel/BPELImplementationProcessorTestCase.java index 28cc562a3b..5541150262 100644 --- a/java/sca/modules/implementation-bpel/src/test/java/org/apache/tuscany/sca/implementation/bpel/BPELImplementationProcessorTestCase.java +++ b/java/sca/modules/implementation-bpel/src/test/java/org/apache/tuscany/sca/implementation/bpel/BPELImplementationProcessorTestCase.java @@ -46,7 +46,7 @@ public class BPELImplementationProcessorTestCase extends TestCase { private static final String COMPOSITE = "" - + "" + + "" + " " + " " + " " @@ -54,7 +54,7 @@ public class BPELImplementationProcessorTestCase extends TestCase { private static final String COMPOSITE_INVALID = "" - + "" + + "" + " " + " " + " " -- cgit v1.2.3