[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sandesha-dev
Subject:    [jira] Created: (AXIS2-4669) JAX-WS: SAAJConverter does not
From:       "Rich Scheuerle (JIRA)" <jira () apache ! org>
Date:       2010-03-30 19:02:27
Message-ID: 554187071.584841269975747537.JavaMail.jira () brutus ! apache ! org
[Download RAW message or body]

JAX-WS: SAAJConverter does not preserve attribute type information
------------------------------------------------------------------

                 Key: AXIS2-4669
                 URL: https://issues.apache.org/jira/browse/AXIS2-4669
             Project: Axis2
          Issue Type: Bug
          Components: jaxws
            Reporter: Rich Scheuerle
            Assignee: Rich Scheuerle


Background/Problem:
--------------------------------

An xml attribute can have a type (i.e. CDATA).
The current version of OM stores this type.

During JAX-WS processing, the OM tree is converted into an SAAJ tree when the JAX-WS \
handlers are invoked. After the JAX-WS handlers are completed, the SAAJ tree is \
converted back into OM.

The attribute type information is lost in this process, because there is no SAAJ \
specification compliant api to store the attribute type on SAAJ.

Solution:
------------

The SAAJConverterImpl code (OM->SAAJ) is changed to store the attribute type \
information on the SAAJ DOM Attr object as "user data". The SAAJ->OM conversion uses \
XMLStreamReaderFromDOM.  This code is changed to get the attribute type from the \
"user data" if it is not available on the Attr.

A verification test is added.

Note that only the JAX-WS source and test are changed by this JIRA.

Min Zheng and Rich Scheuerle collaborated on the diagnosis, design and testing of \
this JIRA.    Thanks Min for writing the test case.








-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic