jakarta-ecs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordian Yuan <gordiany...@gmail.com>
Subject missing </li> tag?
Date Mon, 23 Feb 2009 09:33:34 GMT
Hi all,

I am new to ecs, I write a assert like

assertEquals("<ul><li>Hello World</li></ul>", new UL().addElement(
                new LI("Hello World")).toString());

I expect "<ul><li>Hello World</li></ul>" but actual ecs generate
"<ul><li>Hello World</ul>", it's missing "</li>"

My question is how to add the missing "</li>" tag??

Any input will be great .. thank you


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message