> Another example that I have seen often lately would be the backtrace > that ends with "ExpatError: not well-formed (invalid token): line X, > column Y", where X and Y are numbers. This doesn't really tell me (the > noob) anything about where to look to fix this. The content above seems > to imply something that kid doesn't like, but my gut tells me it's > something that I did wrong in the controllers, or in how I'm handing > data to the template, not the template itself. This is one I haven't > figured out how to fix yet. It was related to an more "sophisticated" > feature (relatively speaking) I was attempting to add to my app, and > when I ran into this I just removed the latest changes I made and moved > on to other areas.
Expat is a type of XML parser. This message is telling you that you have invalid XML, which means it is a problem with your kid template. You should be able to look around line X of your kid template to find the problem. Here are some samples of common xml "punctuation mistakes", along with a second line showing the correct usage: * Forgot to close a tag <div <span>content</span></div> <div><span>content</span></div> * Tag closure out of order <div><span>content</div></span> <div><span>content</div></span> * Invalid use of attributes (they should be surrounded by quotes) <div class=foo> <span>content</span></div> <div class="foo"><span>content</span></div> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

