summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-09-08 23:45:19 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-09-08 23:45:19 +0000
commit7457dc4a8cee881b4087516977650697782c9501 (patch)
tree529bb546671651c6ee686379ada9cdbc7c0d58c8
parentc177a7dc8611718c2a07bbfc1808af4b502f5b02 (diff)
TUSCANY-3264 - Moving all wstx dependencies to 3.2.4 where the prefix handling issue WSTX-135 is fixed
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@812727 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--branches/sca-java-1.x/itest/late-reference-resolution/pom.xml2
-rw-r--r--branches/sca-java-1.x/modules/binding-http/src/main/java/org/apache/tuscany/sca/binding/http/xml/HTTPBindingProcessor.java3
-rw-r--r--branches/sca-java-1.x/modules/contribution-jee-impl/pom.xml2
-rw-r--r--branches/sca-java-1.x/modules/contribution-jee/pom.xml2
-rw-r--r--branches/sca-java-1.x/modules/implementation-widget/src/main/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementationProcessor.java11
-rw-r--r--branches/sca-java-1.x/samples/calculator-distributed/pom.xml2
-rw-r--r--branches/sca-java-1.x/samples/helloworld-bpel/pom.xml2
7 files changed, 9 insertions, 15 deletions
diff --git a/branches/sca-java-1.x/itest/late-reference-resolution/pom.xml b/branches/sca-java-1.x/itest/late-reference-resolution/pom.xml
index 8e05ace040..dc95ecbe2c 100644
--- a/branches/sca-java-1.x/itest/late-reference-resolution/pom.xml
+++ b/branches/sca-java-1.x/itest/late-reference-resolution/pom.xml
@@ -100,7 +100,7 @@
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<scope>runtime</scope>
</dependency>
diff --git a/branches/sca-java-1.x/modules/binding-http/src/main/java/org/apache/tuscany/sca/binding/http/xml/HTTPBindingProcessor.java b/branches/sca-java-1.x/modules/binding-http/src/main/java/org/apache/tuscany/sca/binding/http/xml/HTTPBindingProcessor.java
index a973ec07d9..cdd5c0d992 100644
--- a/branches/sca-java-1.x/modules/binding-http/src/main/java/org/apache/tuscany/sca/binding/http/xml/HTTPBindingProcessor.java
+++ b/branches/sca-java-1.x/modules/binding-http/src/main/java/org/apache/tuscany/sca/binding/http/xml/HTTPBindingProcessor.java
@@ -134,8 +134,6 @@ public class HTTPBindingProcessor extends BaseStAXArtifactProcessor implements S
}
public void write(HTTPBinding httpBinding, XMLStreamWriter writer) throws ContributionWriteException, XMLStreamException {
- //writer.writeStartElement(Constants.SCA10_NS, BINDING_HTTP);
-
writeStart(writer, BINDING_HTTP_QNAME.getNamespaceURI(), BINDING_HTTP_QNAME.getLocalPart());
//write policies
@@ -159,7 +157,6 @@ public class HTTPBindingProcessor extends BaseStAXArtifactProcessor implements S
extensionProcessor.write(httpBinding.getOperationSelector(), writer);
}
writeEnd(writer);
- //writer.writeEndElement();
}
diff --git a/branches/sca-java-1.x/modules/contribution-jee-impl/pom.xml b/branches/sca-java-1.x/modules/contribution-jee-impl/pom.xml
index 5c873f150f..057e5394e7 100644
--- a/branches/sca-java-1.x/modules/contribution-jee-impl/pom.xml
+++ b/branches/sca-java-1.x/modules/contribution-jee-impl/pom.xml
@@ -78,7 +78,7 @@
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
diff --git a/branches/sca-java-1.x/modules/contribution-jee/pom.xml b/branches/sca-java-1.x/modules/contribution-jee/pom.xml
index db1bdb316c..1deefc9c8e 100644
--- a/branches/sca-java-1.x/modules/contribution-jee/pom.xml
+++ b/branches/sca-java-1.x/modules/contribution-jee/pom.xml
@@ -67,7 +67,7 @@
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
diff --git a/branches/sca-java-1.x/modules/implementation-widget/src/main/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementationProcessor.java b/branches/sca-java-1.x/modules/implementation-widget/src/main/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementationProcessor.java
index a8cf25207b..d54999a8b1 100644
--- a/branches/sca-java-1.x/modules/implementation-widget/src/main/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementationProcessor.java
+++ b/branches/sca-java-1.x/modules/implementation-widget/src/main/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementationProcessor.java
@@ -33,6 +33,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;
@@ -41,7 +42,6 @@ import org.apache.tuscany.sca.contribution.service.ContributionWriteException;
import org.apache.tuscany.sca.monitor.Monitor;
import org.apache.tuscany.sca.monitor.Problem;
import org.apache.tuscany.sca.monitor.Problem.Severity;
-import org.apache.tuscany.sca.monitor.impl.ProblemImpl;
/**
*
@@ -49,7 +49,7 @@ import org.apache.tuscany.sca.monitor.impl.ProblemImpl;
*
* @version $Rev$ $Date$
*/
-public class WidgetImplementationProcessor implements StAXArtifactProcessor<WidgetImplementation> {
+public class WidgetImplementationProcessor extends BaseStAXArtifactProcessor implements StAXArtifactProcessor<WidgetImplementation> {
private static final QName IMPLEMENTATION_WIDGET = new QName(Constants.SCA10_TUSCANY_NS, "implementation.widget");
private AssemblyFactory assemblyFactory;
@@ -160,16 +160,13 @@ public class WidgetImplementationProcessor implements StAXArtifactProcessor<Widg
}
public void write(WidgetImplementation implementation, XMLStreamWriter writer) throws ContributionWriteException, XMLStreamException {
-
// Write <implementation.widget>
- writer.writeStartElement(IMPLEMENTATION_WIDGET.getNamespaceURI(), IMPLEMENTATION_WIDGET.getLocalPart());
- writer.writeNamespace("widget",IMPLEMENTATION_WIDGET.getNamespaceURI());
-
+ writeStart(writer, IMPLEMENTATION_WIDGET.getNamespaceURI(), IMPLEMENTATION_WIDGET.getLocalPart());
if (implementation.getLocation() != null) {
writer.writeAttribute("location", implementation.getLocation());
}
- writer.writeEndElement();
+ writeEnd(writer);
}
}
diff --git a/branches/sca-java-1.x/samples/calculator-distributed/pom.xml b/branches/sca-java-1.x/samples/calculator-distributed/pom.xml
index 67cd2a3c01..c0536fb3ae 100644
--- a/branches/sca-java-1.x/samples/calculator-distributed/pom.xml
+++ b/branches/sca-java-1.x/samples/calculator-distributed/pom.xml
@@ -93,7 +93,7 @@
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<scope>runtime</scope>
</dependency>
diff --git a/branches/sca-java-1.x/samples/helloworld-bpel/pom.xml b/branches/sca-java-1.x/samples/helloworld-bpel/pom.xml
index 5b06282ab5..27fbeb6749 100644
--- a/branches/sca-java-1.x/samples/helloworld-bpel/pom.xml
+++ b/branches/sca-java-1.x/samples/helloworld-bpel/pom.xml
@@ -101,7 +101,7 @@
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<scope>runtime</scope>
</dependency>