Changeset 165

Show
Ignore:
Timestamp:
05/28/06 16:23:22 (2 years ago)
Author:
scorfield
Message:

Fixes #55 by checking that the root tag in fusebox.xml is actually <fusebox>.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • fusebox5/fuseboxApplication.cfc

    r164 r165  
    195195                        </cftry> 
    196196                         
     197                        <cfif fbCode.xmlRoot.xmlName is not "fusebox"> 
     198                                <cfthrow type="fusebox.badGrammar.badFuseboxFile" 
     199                                                detail="Fusebox file does contain 'fusebox' XML"  
     200                                                message="Fusebox file #fbFile# does not contain 'fusebox' as the root XML node." /> 
     201                        </cfif> 
     202 
    197203                        <cfset loadParameters(fbCode) /> 
    198204                        <cfset loadLexicons(fbCode) />