You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2012/02/23 22:37:01 UTC
svn commit: r1292971 -
/axis/axis2/java/core/trunk/modules/xmlbeans/src/org/apache/axis2/xmlbeans/template/XmlbeansDatabindingTemplate.xsl
Author: veithen
Date: Thu Feb 23 21:37:01 2012
New Revision: 1292971
URL: http://svn.apache.org/viewvc?rev=1292971&view=rev
Log:
Adapted to change in Axiom (related to AXIOM-114).
Modified:
axis/axis2/java/core/trunk/modules/xmlbeans/src/org/apache/axis2/xmlbeans/template/XmlbeansDatabindingTemplate.xsl
Modified: axis/axis2/java/core/trunk/modules/xmlbeans/src/org/apache/axis2/xmlbeans/template/XmlbeansDatabindingTemplate.xsl
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/xmlbeans/src/org/apache/axis2/xmlbeans/template/XmlbeansDatabindingTemplate.xsl?rev=1292971&r1=1292970&r2=1292971&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/xmlbeans/src/org/apache/axis2/xmlbeans/template/XmlbeansDatabindingTemplate.xsl (original)
+++ axis/axis2/java/core/trunk/modules/xmlbeans/src/org/apache/axis2/xmlbeans/template/XmlbeansDatabindingTemplate.xsl Thu Feb 23 21:37:01 2012
@@ -243,8 +243,11 @@
<xsl:for-each select="param[@type!='' and not(@primitive)]">
if (<xsl:value-of select="@type"/>.class.equals(type)){
- return <xsl:value-of select="@type"/>.Factory.parse(
- param.getXMLStreamReader(false, true));
+ org.apache.axiom.om.OMXMLStreamReaderConfiguration configuration
+ = new org.apache.axiom.om.OMXMLStreamReaderConfiguration();
+ configuration.setPreserveNamespaceContext(true);
+ return <xsl:value-of select="@type"/>.Factory.parse(
+ param.getXMLStreamReader(false, configuration));
}
</xsl:for-each>