[Twisted-web] guarded example using external login form file

Tommi Virtanen tv at twistedmatrix.com
Wed Apr 27 14:36:41 MDT 2005


Pedro Sanchez wrote:
> xml.sax._exceptions.SAXParseException: login.html:7:2: unbound prefix
> 
> when I visit the page. Line 7 in "login.html" is the one with
> <form ...>. I tried with and without the method="post" in this line.
> This is my render method,
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
> xmlns:nevow="http://nevow.com/ns/nevow/0.1">
        ^^^^^

>   <form n:render="loginForm" method="post">
          ^

	"n" != "nevow"



More information about the Twisted-web mailing list