Thanks Thiago.  I was trying to do something quick and dirty, but I
guess I'll do it the right way.  :-)

mrg


On Mon, Aug 10, 2009 at 11:39 AM, Thiago H. de Paula
Figueiredo<thiag...@gmail.com> wrote:
> Em Mon, 10 Aug 2009 12:23:24 -0300, Michael Gentry <mgen...@masslight.net>
> escreveu:
>
>> In my .tml file I have a line:
>> <td nowrap>Individual ID</td>
>> Tapestry fails to parse this:
>> Unexpected character '>' (code 62) expected '=' at [row,col
>> {unknown-source}]: [17,17]
>> I think it is expecting nowrap="something" ... is this to be expected?
>
> Yes. Tapestry's templates must be valid XML, even when generating HTML.
>
>> Also, if I try to use a non-breakable space:
>> <td>Individual&nbsp;ID</td>
>> I get a different parsing error:
>> Undeclared general entity "nbsp" at [row,col {unknown-source}]: [17,26]
>> Thoughts?  (I know ... use CSS ...)
>
> Use CSS! :)
> Again, templates must be valid XML, so you need to add
> xmlns="http://www.w3.org/1999/xhtml"; to the root tag in your template.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

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

Reply via email to