T5.1 Parsing Errors
In my .tml file I have a line: td nowrapIndividual 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? Also, if I try to use a non-breakable space: tdIndividualnbsp;ID/td I get a different parsing error: Undeclared general entity nbsp at [row,col {unknown-source}]: [17,26] Thoughts? (I know ... use CSS ...) Thanks, mrg - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5.1 Parsing Errors
Em Mon, 10 Aug 2009 12:23:24 -0300, Michael Gentry mgen...@masslight.net escreveu: In my .tml file I have a line: td nowrapIndividual 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: tdIndividualnbsp;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
Re: T5.1 Parsing Errors
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 Figueiredothiag...@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 nowrapIndividual 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: tdIndividualnbsp;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
Re: T5.1 Parsing Errors
td nowrap=true should work 2009/8/10 Michael Gentry mgen...@masslight.net 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 Figueiredothiag...@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 nowrapIndividual 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: tdIndividualnbsp;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
Re: T5.1 Parsing Errors
Use td nowrap=nowrap See also: http://www.w3schools.com/Xhtml/xhtml_syntax.asp -- Chris -- View this message in context: http://n2.nabble.com/T5.1-Parsing-Errors-tp3417841p3418509.html Sent from the Tapestry Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org