[
https://issues.apache.org/jira/browse/WICKET-3608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025239#comment-13025239
]
Attila Király commented on WICKET-3608:
---------------------------------------
Imho the markup document and its file representation should be two different
things). Converting (reading/deserializing) from file to document should
involve a step where the xml entities are decoded. So if in the file it is
<input type="button" value="Bla a<b>c" /> in the parsed document (in
memory) this should be <input type="button" value="Bla a<b>c" /> (or a DOM
object representing this). Afaik this is how xml, html parsers work too.
Similarly the converting (writing/serializing) from document to file now
involves a central encoding step (WICKET-2829).
> input button escapes escaped value
> ----------------------------------
>
> Key: WICKET-3608
> URL: https://issues.apache.org/jira/browse/WICKET-3608
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 1.5-RC3
> Reporter: Sven Meier
> Fix For: 1.5-RC4
>
> Attachments: WICKET-3608-test.patch, double_escaped_test.diff,
> wicket-3608.patch
>
>
> An input button with a value attribute containing escaped characters (>)
> is double escaped when rendered. Worked in 1.4.x.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira