[ https://issues.apache.org/jira/browse/AXIS2-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rich Scheuerle resolved AXIS2-4669. ----------------------------------- Resolution: Fixed > 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 > Original Estimate: 1h > Remaining Estimate: 1h > > 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-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org