axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ilab (Created) (JIRA)" <>
Subject [jira] [Created] (AXIS2-5170) Empty xs:normalizedString parse and/or serialization error
Date Fri, 28 Oct 2011 12:26:33 GMT
Empty xs:normalizedString parse and/or serialization error

                 Key: AXIS2-5170
             Project: Axis2
          Issue Type: Bug
          Components: codegen
    Affects Versions: 1.6.1
            Reporter: ilab

The object, which is created by axis2 parsing an empty xs:normalizedString tag, cannot be
serialized as serialize(...) always throws "normalizedString cannot be null!!" exception.


When org.apache.axis2.databinding.types.xsd.NormalizedString$Factory.parse() method parses
an empty xs:normalizedString tag, the following code runs:

NormalizedString object = new NormalizedString();

Method convertToNormalizedString() returns null for null/empty string values.

Afterwards, if NormalizedString.serialize(...) is called, it will throw "normalizedString
cannot be null!!" exception.

For the full relevant code see for example

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message