I think the problem is that the DOCTYPE would need to be modified to support
the addition of the xmlns:t attribute to the <html> element.

>From the xhtml1-strict.dtd:

<!--================ Document Structure
==================================-->

<!-- the namespace URI designates the document profile -->

<!ELEMENT html (head, body)>
<!ATTLIST html
  %i18n;
  id          ID             #IMPLIED
  xmlns       %URI;          #FIXED 'http://www.w3.org/1999/xhtml'
  >

This would suggest that either we need to keep "hacked" versions of the
DTD's around to support the Tapestry namespace during development, or a way
to swap DOCTYPEs going from template to rendered page where there are
Tapestry-specific versions of the usual templates - for example xhtml1-
strict-tapestry.dtd would get substituted with xhtml1-strict.dtd when the
template is processed.

Jonathan



> -----Original Message-----
> From: Thiago H. de Paula Figueiredo [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 01, 2008 19:20
> To: Tapestry users
> Subject: Re: I'd like to generate valid XHTML
> 
> Em Mon, 01 Sep 2008 20:02:42 -0300, Craig St. Jean <[EMAIL PROTECTED]>
> escreveu:
> 
> > Hmm... that's interesting because Xerces, LIBXML, MSXML.NET, and Intel
> > XML Software Suite all complain about it...I have a feeling they aren't
> > all
> > wrong with the same error (not including verbiage)
> 
> Syntax like xmlns="" and xmlns:t="" is used to support namespaces. They
> are part of the XML spec. Maybe these tools just don't support this XML
> feature, mistaking xmlns="" as some ordinary tag attribute.
> 
> Thiago
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to