diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-19 01:53:48 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-19 01:53:48 +0000 |
commit | be87362fcbd990bbea894205f50b4f2045a8cade (patch) | |
tree | dc7e1728f49fac87408d16b029d2aeaaceec22d6 /branches/sca-java-1.x/modules/databinding-jaxb/src/main/java/org/apache | |
parent | 6be96c2a866fa1ea59aee72b0fbe1b17c79bd939 (diff) |
Produce xsi:type for local elements
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@755810 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules/databinding-jaxb/src/main/java/org/apache')
-rw-r--r-- | branches/sca-java-1.x/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/branches/sca-java-1.x/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java b/branches/sca-java-1.x/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java index 01989759b8..ac544862e0 100644 --- a/branches/sca-java-1.x/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java +++ b/branches/sca-java-1.x/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java @@ -148,7 +148,7 @@ public class JAXBContextHelper { element = value; } if (element == null) { - element = new JAXBElement(name, type, value); + element = new JAXBElement(name, Object.class, value); } return element; } |