Hi,

on my (german) laptop testComponentAttributesNotDoubleEscaped is failing.

junit.framework.AssertionFailedError: One of the pound entity
representations is missing: £ or £
        at 
org.apache.wicket.markup.ComponentTagAttributeEscapingTest.testComponentAttributesNotDoubleEscaped(ComponentTagAttributeEscapingTest.java:48)

The output looks like: <html><body><a wicket:id="link"
onclick="alert(&#039;alerting: &amp; ££ &#039;)"
href="../page?0-1.ILinkListener-link"
some_attribute="&amp;">link</a><input type="submit" wicket:id="button"
value="Watch escaped value: &gt;&gt;" name="button"
id="button1"/></body></html>

The assertion test is like: response.contains("££"));   replacing it
with response.contains("\u00A3\u00A3")); works for me.

Interestingly it's failing in eclipse only. It passes the test with maven

-Juergen

Reply via email to