You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by am...@apache.org on 2007/11/27 10:50:11 UTC

svn commit: r598574 - /webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java

Author: amilas
Date: Tue Nov 27 01:50:11 2007
New Revision: 598574

URL: http://svn.apache.org/viewvc?rev=598574&view=rev
Log:
fixed an issue with parsing the anyType simple variables

Modified:
    webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java

Modified: webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java?rev=598574&r1=598573&r2=598574&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java (original)
+++ webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java Tue Nov 27 01:50:11 2007
@@ -1464,11 +1464,10 @@
                 String attributeNameSpace = namespaceContext.getNamespaceURI(attributeTypePrefix);
 
                 if (attributeNameSpace.equals(Constants.XSD_NAMESPACE)) {
-                    xmlStreamReader.next();
                     if ("base64Binary".equals(attributeType)) {
                         returnObject = getDataHandlerObject(xmlStreamReader);
                     } else {
-                        String attribValue = xmlStreamReader.getText();
+                        String attribValue = xmlStreamReader.getElementText();
                         if (attribValue != null) {
                             if (attributeType.equals("string")) {
                                 returnObject = attribValue;



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org