summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.3/modules/databinding-jaxb
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2008-07-28 17:59:40 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2008-07-28 17:59:40 +0000
commit6df2116e5a196acd5e7bd1bfdf415e483e6eb316 (patch)
treeffffec3d31fe9de4005f8c5c53278117a82b7c34 /branches/sca-java-1.3/modules/databinding-jaxb
parentf1e99ea09209f97d2c2081e6f9a25900a38c8c90 (diff)
Merge the fix for TUSCANY-2498 from trunk into 1.3 branch
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@680425 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.3/modules/databinding-jaxb')
-rw-r--r--branches/sca-java-1.3/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBTypeHelper.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/branches/sca-java-1.3/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBTypeHelper.java b/branches/sca-java-1.3/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBTypeHelper.java
index 8f8e907a31..8c7ab2f8cd 100644
--- a/branches/sca-java-1.3/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBTypeHelper.java
+++ b/branches/sca-java-1.3/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBTypeHelper.java
@@ -155,7 +155,9 @@ public class JAXBTypeHelper implements XMLTypeHelper {
@Override
public Result createOutput(String ns, String file) throws IOException {
DOMResult result = new DOMResult();
- result.setSystemId(ns + file);
+ // TUSCANY-2498: Set the system id to "" so that the xsd:import doesn't produce
+ // an illegal schemaLocation attr
+ result.setSystemId("");
results.put(ns, result);
return result;
}