Re: [Repoze-dev] DOCTYPE inside macro

2010-05-13 Thread Shane Hathaway
On 05/13/2010 10:23 AM, Douglas Cerna wrote:
 This way used to work when I used ZPT in Grok 1.0. Is it possible to
 include the!DOCTYPE ...  in a macro using chameleon?

AFAIK, Chameleon now lets you use the whole template as a macro.  OTOH, 
I've been using the HTML 5 doctype and I've seen no problems.  Check out 
how simple it is:

!DOCTYPE html

Shane
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev


[Repoze-dev] [issue66] remove port from cookie path

2010-05-13 Thread nedosa

nedosa ned...@gmail.com added the comment:

I also confirm this bug. Cookies with a domain property that ends with a port
number are not saved in FF3+. This bug makes it hard to adequately test certain
authentication cases.

__
Repoze Bugs b...@bugs.repoze.org
http://bugs.repoze.org/issue66
__
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev


Re: [Repoze-dev] DOCTYPE inside macro

2010-05-13 Thread Malthe Borch
On 13 May 2010 19:23, Douglas Cerna douglasce...@yahoo.com wrote:
 I'm trying to set up a page macro that includes the !DOCTYPE ... in it, 
 like this:

That's not valid XML and since Chameleon currently uses Expat to parse
documents (albeit very customized), it refuses to accept a doctype
after a regular tag.

As Shane mentions, the only good solution right now is to simply use
the entire template as a macro; no definition needed!

  use:macro=some_template

\malthe
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev