"M. Sean Gilligan" <[EMAIL PROTECTED]> writes:
I will look into this. Thanks for reporting.
Regards
Henning
>We just found a nasty bug in Intake. I created a bug in Scarab: TTWS63.
>Unfortunately, I can't seem to set the version of Turbine in the issue, but it is
>Turbine 2.3 and seems to still exist in 2.3.1-dev and in HEAD.
>The characters() callback in XmlToAppData.java does not expect multiple callbacks for
>data in the same element. What makes the bug nasty is that it can appear/disappear
>or possibly move depending upon subtle changes in intake.xml. We deleted some of the
>boilerplate comments and the problem went away (or perhaps shifted to a different
>rule.) It all depends on where the SAX parser decides to end a chunk and start
>another.
>We were seeing a rule message being displayed improperly. e.g. "The password must be
>at least 4 characters" was being displayed as "s". It turns out the "s" was the last
>character of the correct string. By debugging in Eclipse we determined that the SAX
>characters() method in XmlToAppData.java was not expecting to be called twice with
>two parts of the element data. Rather than appending the "s" to the first part of the
>data it was replacing the first part of the message.
>The fix is to append the second chunk in an element to the chunk received from the
>first characters callback.
>If there is a fix in the works, please let me know. Otherwise we'll try to submit a
>patch tomorrow.
>Regards,
>Sean
>--
>---------------------------------------------------------------------------
>M. Sean Gilligan : 831-466-9788 x11
>Catalla Systems, Inc.
>---------------------------------------------------------------------------
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH
[EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/
RedHat Certified Engineer -- Jakarta Turbine Development -- hero for hire
Linux, Java, perl, Solaris -- Consulting, Training, Development
"Fighting for one's political stand is an honorable action, but re-
fusing to acknowledge that there might be weaknesses in one's
position - in order to identify them so that they can be remedied -
is a large enough problem with the Open Source movement that it
deserves to be on this list of the top five problems."
-- Michelle Levesque, "Fundamental Issues with
Open Source Software Development"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]