in a previous post Thiago correctly explained the error 'Undeclared general entity "nbsp"' resulting from a missing html xmlns declaration.

however I'm still having this problem when I declare an xhtml entity within a page that uses a component to handle the layout, even if both the layout component and the page tml's declare the xhtml xmlns.:

MyPage.tml:

<html t:type="baselayout" xmlns="http://www.w3.org/1999/xhtml"; xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";>
   &nbsp;
</html>

BaseLayout.tml:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> <html xmlns="http://www.w3.org/1999/xhtml"; xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"; xmlns:p="tapestry:parameter">
   <t:body />
</html>

Also, another problem - if the &nbsp; is in BaseLayout.tml and not MyPage.tml it renders without exception, however if I view source of the rendered page, there is no &nbsp; instead the character it represents. I would expect the browser to do this conversion, not the web application.

can someone fill me in?

Regards, p.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to