Doug's Resume
OO Lexicon
Chat with Doug!
Recent Entries
You may also be interested in...

heaters
hotels boeken in 7 sec
Engagement Rings
Online Dating Australia




SURF'S UP!
You:
Your Web Site:
<< May, 2008 >>
SMTWTFS
123
45678910
11121314151617
18192021222324
25262728293031
Search Blog

ColdFusion Jobs
Recent Comments
Re: Promoting Family Unity: Lowering Your Utility Bills! (by Fernando Lopez at 5/07 10:12 PM)
Re: Why I Hate ORMs (a solicited rant) (by Richard at 5/06 10:56 AM)
Re: Why I Hate ORMs (a solicited rant) (by dougboude at 5/06 10:27 AM)
Re: Why I Hate ORMs (a solicited rant) (by Richard at 5/06 6:50 AM)
Re: Why I Hate ORMs (a solicited rant) (by Sean Corfield at 5/06 1:40 AM)
Re: Why I Hate ORMs (a solicited rant) (by Steve Bryant at 5/05 5:07 PM)
Re: Why I Hate ORMs (a solicited rant) (by dougboude at 5/05 4:36 PM)
Re: Why I Hate ORMs (a solicited rant) (by Mark Mandel at 5/05 3:52 PM)
Re: Why I Hate ORMs (a solicited rant) (by dougboude at 5/05 3:42 PM)
Re: Why I Hate ORMs (a solicited rant) (by Brian Rinaldi at 5/05 3:14 PM)
Categories
Archives
Photo Albums
Funnies (5)
Family (3)
RSS
Reciprocal Links

Powered by
BlogCFM v1.11

21 February 2008
Finding 'Fat Finger' errors in Modelglue.xml
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!



Posted by dougboude at 12:31 PM | PRINT THIS POST! |Link | 2 comments
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

Name:   Required
Email:   Required your email address will not be publicly displayed.

Want to receive notifications when new comments are added? Login/Register for an account.

Time to take the Turing Test!!!

What letter comes one place(s) before the letter O?
Type your answer exactly two time(s) in the designated box.

Type in the answer to the question you see above:

Your comment:

Sorry, no HTML allowed!