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 sh...@apache.org on 2009/09/22 13:37:59 UTC

svn commit: r817606 - /webservices/axis2/trunk/c/axiom/src/om/om_attribute.c

Author: shankar
Date: Tue Sep 22 11:37:59 2009
New Revision: 817606

URL: http://svn.apache.org/viewvc?rev=817606&view=rev
Log:
fixing getAttribute issue

Modified:
    webservices/axis2/trunk/c/axiom/src/om/om_attribute.c

Modified: webservices/axis2/trunk/c/axiom/src/om/om_attribute.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_attribute.c?rev=817606&r1=817605&r2=817606&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_attribute.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_attribute.c Tue Sep 22 11:37:59 2009
@@ -141,9 +141,12 @@
     {
         if(attribute->ns)
         {
+            /* Attribute qname should not include prefix */
             qname = axutil_qname_create(env, axutil_string_get_buffer(attribute-> localname, env),
+                axiom_namespace_get_uri(attribute->ns, env), NULL);
+            /*qname = axutil_qname_create(env, axutil_string_get_buffer(attribute-> localname, env),
                 axiom_namespace_get_uri(attribute->ns, env), axiom_namespace_get_prefix(
-                    attribute-> ns, env));
+                    attribute-> ns, env));*/
         }
         else
         {