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 "Tom Gordon (JIRA)" <ax...@ws.apache.org> on 2004/11/21 15:49:28 UTC

[jira] Updated: (AXIS-1678) Reports invalid qname part

     [ http://nagoya.apache.org/jira/browse/AXIS-1678?page=history ]

Tom Gordon updated AXIS-1678:
-----------------------------

    Attachment: MessageElement.diff

I believe the problem is with the copyNode method in MessageElement.
 
In brief, I don't believe the MessageElement class' copyNode method is/was handling DOM 1/2 correctly - using getNodeValue() vs. getNodeName().  I tried to follow other implementations in the code as to checking for null, then assuming DOM 1/2.  Maybe there is a more elegant way, but this solves the problem.  I let recursion handle assigning the qname to the element versus trying to force set it using PrefixedQName.  The problem is/was with using PrefixedQName is/was the second argument to the method always using only one method to get local qname (so failed when it was the other type of DOM).

> Reports invalid qname part
> --------------------------
>
>          Key: AXIS-1678
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1678
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.0-rc1, 1.0-rc2
>  Environment: Axis 1.2RC2, J2SDK 1.4.2_06
>     Reporter: Tom Gordon
>  Attachments: MessageElement.diff
>
> When attempting to send/receive DOM 2 xml (e.g. building a SOAP message - header or body), the MessageElement fails to recognize the DOM type used, and attempts to create a QName with a null local name for an elemement's children nodes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira