Contact Doug!
Learn About Doug!
View Doug Boude's online resume
updated 11/18/2009

View Doug Boude's profile on LinkedIn
Link to me!

Follow Doug Boude on Twitter
Follow me!

Be Doug's friend on Facebook
Befriend me!
(I promise not to follow you home)
OO Lexicon
Chat with Doug!
Recent Entries
You may also be interested in...
Florida web site design



Czech your Page Rank!
Check Page Rank of any web site pages instantly:
This free page rank checking tool is powered by Page Rank Checker service
Surf's Up!
Visit Egosurf.org and massage YOUR web ego!
My Score: 9,001
Doug's Books

Read (and recommend)

  • Men are from Mars, Women are from Venus
  • The Wisdom of Crowds: Why the Many Are Smarter Than the Few and How Collective Wisdom Shapes Business, Economies, Societies and Nations
  • Blink: The Power of Thinking Without Thinking
  • Head First Design Patterns
  • Transact-SQL Programming
  • What's So Amazing About Grace?
  • Just So Stories (Rudyard Kipling collection)

Reading

  • Prayer: Does it Make Any Difference?
  • Data Mining (Practical Machine Learning Tools and Techniques)
<< March, 2010 >>
SMTWTFS
123456
78910111213
14151617181920
21222324252627
28293031
Search Blog

Recent Comments
Categories
Archives
Photo Albums
Funnies (5)
Family (3)
RSS

Powered by
BlogCFM v1.11

03 October 2007
Model-Glue XML Isn't Valid!!! Short Reminder
Don't you hate it when you're focused on adding functionality and/or troubleshooting issues in your Model-Glue app and when you save your modelglue.xml file to see if it all works right, you get the error:

Model-Glue: C:\ColdFusion8\wwwroot\yourAppName\config\modelglue.xml isn't valid XML!

I hate it. A lot.

See if you can spot the earth-shattering error in the following snippet of trouble-causing xml:


<event-handler name="view.register">
    <broadcasts />
    <results>
        <result do="view.template" />
    </results>
    <views>
        <include name="body" template="dsp_register.cfm" />
    </Views>
</event-handler>


This has been my day to be mentally challenged for some reason, so perhaps all of you found it quickly. But fifteen minutes, several experiments to isolate the offending code block, and a visit to an online XML validator later, I was reminded that XML is case sensitive. The way my font settings are in my IDE make a lower case and capital "V" look VERY much alike, so I kept looking right over it.

Just thought I'd share this in case it helps someone else save a few minutes. ;)




Posted by dougboude at 4:36 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: Model-Glue XML Isn't Valid!!! Short Reminder
Shows what happens when you try to use a system designed for data exchange as a programming language.
Posted by Michael Long on October 3, 2007 at 4:55 PM

Re: Model-Glue XML Isn't Valid!!! Short Reminder
CAse SensITive , I have enjoyed and learned a few things from your MG posts, keep up the great work.
Posted by robb on October 3, 2007 at 6:40 PM

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!!!

20 plus 16 equals
Type in the answer to the question you see above:

Your comment:

Sorry, no HTML allowed!