commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35921] - [configuration] Escaping comma in xml tag attributes does not work
Date Fri, 29 Jul 2005 16:36:43 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35921>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35921





------- Additional Comments From oliver.heger@t-online.de  2005-07-29 18:36 -------
I did some testing (similar to your test configuration and based on the same
expectations), but I get completely different results. What I found out is that
attributes are handled correctly, but elements are not!

processAttributes() uses PropertyConverter.split() for splitting the attribute's
value(s).This method correctly handles the backslash as escaping character. So
my test case runs successfully for attributes.

When processing elements all text nodes occurring in the body of an element are
just accumulated and at the end set to the element's value. Here no split
operation is performed, so I always get the comma delimited list when I call
getString(). This is wrong and I will change this.

Please let me know if this is your problem or if I fully missunderstand you. We
are talking about the version currently in SVN, do we?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message