PDA

View Full Version : Debug Parser Error 'invalid XmlNode' in SimplePoll



tbender
12-14-2009, 01:46 PM
Hi,

I am trying to get the SimplePoll Template working:
http://developer.mindtouch.com/App_Catalog/Simple_Poll

When I try to save my Template page I get an error:



pre, line 214, column 19: invalid XmlNode (click for details)MindTouch.Deki.Script.DekiScriptParserExce ption: line 214, column 19: invalid XmlNode
at MindTouch.Deki.Script.Errors.SynErr (Int32 line, Int32 col, Int32 n) [0x00000]
at MindTouch.Deki.Script.Parser.SynErr (Int32 n) [0x00000]
at MindTouch.Deki.Script.Parser.XmlNode (MindTouch.Deki.Script.Dom.DekiScriptDomBuilder builder, MindTouch.Deki.Script.Dom.DekiScriptDom& node) [0x00000]
at MindTouch.Deki.Script.Parser.Xml (MindTouch.Deki.Script.DekiScriptExpression& expr) [0x00000]

rberinger
12-14-2009, 03:02 PM
This almost a guaranteed result of incorrectly copying the template. Please describe in detail how you copied the template over. Also it would be much easier for us to help if you were to attach the source code of your template to this thread. To do that follow these steps.

- Edit your template.
- Click the Source button (Top Left of the button bar).
- CTRL-A (Select all the text)
- CTRL-C (Copy all the text)
- Open Notepad or similar program.
- Copy the text into a new text document
- Save and attach.

This will allow us to see what happened when you copied the template over and further explain how you can avoid it in the future.

tbender
12-15-2009, 07:21 AM
It seems to be a Problem with my Wiki-Version. See Comments on the Wiki-Page:
http://developer.mindtouch.com/App_Catalog/Simple_Poll

I am trying to get that to work with my version anyway, but will post further issues in the corresponding forum thread.