summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/contribution/src/main
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-03-05 00:04:21 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-03-05 00:04:21 +0000
commitcd5460e68a6dfdedce80429f3d447e5d515c7bea (patch)
treef9e54fb15fd3bb0afbc56fdab401376920ef609b /java/sca/modules/contribution/src/main
parent96d84290c1fd84fb99dc3aa7ffdf0cea6df71f32 (diff)
Updates to contribution modules to use OASIS namespaces/schema
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@750244 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/contribution/src/main')
-rw-r--r--java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/Constants.java4
-rw-r--r--java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/BaseStAXArtifactProcessor.java6
2 files changed, 5 insertions, 5 deletions
diff --git a/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/Constants.java b/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/Constants.java
index 14131a9806..0db008ecb9 100644
--- a/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/Constants.java
+++ b/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/Constants.java
@@ -27,6 +27,6 @@ package org.apache.tuscany.sca.contribution;
public interface Constants {
String XMLSCHEMA_NS = "http://www.w3.org/2001/XMLSchema";
- String SCA10_NS = "http://www.osoa.org/xmlns/sca/1.0";
- String SCA10_TUSCANY_NS = "http://tuscany.apache.org/xmlns/sca/1.0";
+ String SCA11_NS = "http://docs.oasis-open.org/ns/opencsa/sca/200712";
+ String SCA11_TUSCANY_NS = "http://tuscany.apache.org/xmlns/sca/1.1";
}
diff --git a/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/BaseStAXArtifactProcessor.java b/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/BaseStAXArtifactProcessor.java
index f23797a831..92af57b007 100644
--- a/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/BaseStAXArtifactProcessor.java
+++ b/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/BaseStAXArtifactProcessor.java
@@ -307,9 +307,9 @@ public abstract class BaseStAXArtifactProcessor {
*/
public static class XAttr {
- 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 String uri = SCA10_NS;
+ private String uri = SCA11_NS;
private String name;
private Object value;
@@ -501,7 +501,7 @@ public abstract class BaseStAXArtifactProcessor {
}
// Write the attribute
- if (uri != null && !uri.equals(SCA10_NS)) {
+ if (uri != null && !uri.equals(SCA11_NS)) {
writer.writeAttribute(uri, name, str);
} else {
writer.writeAttribute(name,str);