diff options
Diffstat (limited to 'java/sca/modules/contribution')
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); |