The exception is generated at:

def XML(text, fragment=True, encoding=None, xmlns=None, entity_map=None):
    """Element generator that reads from a string"""
    if text.startswith('<?xml ') or text.startswith('<!DOCTYPE '):
        fragment = False

in kid/parser.py



On Wed, 12 Sep 2007 23:29:30 +0200
Christoph Zwerschke <[EMAIL PROTECTED]> wrote:

> Thijs Thiessens wrote:
> > Yes! I already tryed that! But than I got a Django error saying -- Object 
> > has no attribute 'startswith' -- I'm using KID with django and I want to 
> > output a simple form: here's my code:
> > 
> >    form = AddPersonForm ()
> 
> What is AddPersonForm here?
> 
> -- Christoph
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> kid-template-discuss mailing list
> kid-template-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/kid-template-discuss


-- 
Thijs Thiessens <[EMAIL PROTECTED]>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kid-template-discuss mailing list
kid-template-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss

Reply via email to