So the problem wasn't on the completed page (combination of components), it's that Tapestry is parsing each page individually before everything is combined. So every page that uses special characters needs that doctype.
On 8/27/07, Peter Stavrinides <[EMAIL PROTECTED]> wrote: > > Yes that's it, thank very much for your help > > Peter > > Peter Stavrinides wrote: > > It doesn't seem to work, maybe I need to include it in the sub > > component templates as well? and not just in my Layout template. > > ??? wrote: > >> If you use the DOCTYPE I give you , I think the special characters > >> should > >> work . > >> So you can use entities like &nbps; & etc. > >> Suppose you want to output "<", you can use ≶ now . > >> > >> > >> 2007/8/27, Peter Stavrinides <[EMAIL PROTECTED]>: > >> > >>> brilliant, it seems to work, but how will I include special > characters, > >>> it still complains about them? > >>> > >>> thanks so much! > >>> Peter > >>> > >>> Allen Guo wrote: > >>> > >>>> You can try > >>>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > >>>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > >>>> instead of > >>>> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > >>>> "http://www.w3.org/TR/html4/loose.dtd"> > >>>> > >>>> Good Luck > >>>> Guoguo Long > >>>> Peter Stavrinides ??: > >>>> > >>>>> Hi all, > >>>>> > >>>>> I am trying to use some special characters in my templates such as > >>>>> so I tried to add the DOCTYPE header, but I keep getting the > >>>>> exception: > >>>>> > >>>>> org.xml.sax.SAXParseException > >>>>> The system identifier must begin with either a single or double > quote > >>>>> character. > >>>>> > >>>>> No doubt I must be making an elementary mistake somewhere. My > >>>>> template looks like this: > >>>>> > >>>>> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > >>>>> "http://www.w3.org/TR/html4/loose.dtd"> > >>>>> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd > "> > >>>>> <head> > >>>>> <title>${title}</title> > >>>>> <link href="${layoutCSS}" rel="stylesheet" type="text/css"/> > >>>>> </head> > >>>>> <body> > >>>>> <t:header/> > >>>>> <t:navigation/> > >>>>> <t:body/> > >>>>> <t:footer/> > >>>>> </body> > >>>>> </html> > >>>>> > >>>>> Thanks for your help, > >>>>> Peter > >>>>> > >>>>> > >>>>> > --------------------------------------------------------------------- > >>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>>> For additional commands, e-mail: [EMAIL PROTECTED] > >>>>> > >>>>> > >>>>> > >>>> --------------------------------------------------------------------- > >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>> For additional commands, e-mail: [EMAIL PROTECTED] > >>>> > >>>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>> For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >>> > >>> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >