Finding 'Fat Finger' errors in Modelglue.xml
Categories: goog Model-Glue
Ever felt so confident in your skills and ability to code an entire model glue event from the xml to the controller, model, and view that you decided to go ahead and do two or three entire events before you actually attempted to run your code, only to find out that SOMEWHERE along the lines you fat fingered your xml, and for the LIFE of you can't see it? All Model-Glue is going to tell you is that your XML is invalid, but it's up to you to find the change in case, missing slash, misspelling, or mis-nesting. ONCE IN A GREAT WHILE this happens to me (
) , so I thought I'd share a handy little tool I use to save myself a lot of time and grief.
http://www.w3schools.com/dom/dom_validate.asp
Just paste your modelglue xml content into the little window and hit validate. In a jiffy your type-o will be staring you in the face!
) , so I thought I'd share a handy little tool I use to save myself a lot of time and grief.http://www.w3schools.com/dom/dom_validate.asp
Just paste your modelglue xml content into the little window and hit validate. In a jiffy your type-o will be staring you in the face!
Subscription Options
You are not logged in, so your subscription status for this entry is unknown. You can login or register here.
Re: Finding 'Fat Finger' errors in Modelglue.xml
Or you could just use eclipse with the webtools plugin.. it'll highlight for you immediately.
Posted by Patrick on February 27, 2008 at 11:28 PM
Re: Finding 'Fat Finger' errors in Modelglue.xml
Thanks for the tip, Pat, I knew somebody else would have some good suggestions, too. This doesn't work for me, though, since I'm not an Eclipse user, but I know a lot of people are. Would you happen to have a link to share so people could easily grab this plugin?
Posted by dougboude on February 28, 2008 at 1:47 AM
