[ 
https://issues.apache.org/jira/browse/WSCOMMONS-326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636126#action_12636126
 ] 

Raymond Feng commented on WSCOMMONS-326:
----------------------------------------

Hi,

The fix was committed on 04/23/2008 in trunk. But it is not picked by the AXIOM 
1.2.7 release. Any idea?

https://svn.apache.org/repos/asf/webservices/commons/tags/axiom/1.2.7/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMStAXWrapper.java

> Axiom Is Not Preserving an Attribute's Type
> -------------------------------------------
>
>                 Key: WSCOMMONS-326
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-326
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>            Reporter: Rich Scheuerle
>            Assignee: Roy A. Wood Jr.
>
> Background:
> An Attribute has a prefix, local name, prefix, value and type.
> The type should be one of the following: "CDATA", "ID", "IDREF", "IDREFS", 
> "NMTOKEN", "NMTOKENS", "ENTITY", "ENTITIES", or "NOTATION"
> (see 
> http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/Attributes.html#getType(int))
> The default is "CDATA" (not null):
> Proposed Solution:
> Add getType and setType on the OMAttribute interface.  The default should be 
> "CDATA".
> Implement getType/setType on the OMAttributeImpl classes.
> Implement OMStAXWrapper.getAttributeType(...) correctly....currently there is 
> a TODO and the method returns null.
> Impact:
> This bug was found in a conversion between StAX and SAX in side of JAXB.  The 
> missing implementation in OMStAXWrapper resulted in a NPE in the SAX 
> startElement code.

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

Reply via email to