Castor 0.9.6-RC3 is not trimming whitespace like version 0.9.5.3 does.

My application does a Unmarshaller.setPreserveWhitespace(false) before unmarshalling.

From the XML file

    <KC_OrderStatus>RELEASED
      <!-- OrderStatus
          RELEASED-> Released
          DELETED-> Canceled
      -->
    </KC_OrderStatus>

In 0.9.5.3 KC_OrderStatus unmarshalls to "RELEASED".
In 0.9.6-RC3 KC_OrderStatus unmarshalls to "RELEASED ".

With = false, KC_OrderStatus unmarshalls to "RELEASED\n      \n    "


Should I enter this as a bug.

Paul Spencer



----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev

Reply via email to