anchor.diff:  		<cfset var xmlFiles = structNew()>
   
   		<cfset findImports(xmlFiles,arguments.beanDefinitionFileName)>
  -		<cfloop collection="#xmlFiles#" item="i">
  -			<cfset loadBeansFromXmlObj(xmlFiles[i])/>
  -		</cfloop>
  +
  +		<cfset processLoadBeans(xmlFiles)>
   	</cffunction>
   
   	<cffunction name="findImports" access="public" returntype="void" hint="finds and caches include file paths">
  
positive.code: 				<cfthrow message="The file #arguments.importedFilename# does not exist!"
  						detail="You have tried to use or include a file (#arguments.importedFilename#) that does not exist using either absolute, relative, or mapped paths." />
  			</cfif>
  
  
  			<cfset xml = xmlParse(arguments.importedFilename)>
  			<cfset imports = xmlSearch(xml,"/beans/import")>
  
negative.code: 
  	</cffunction>
  
  	<cffunction name="findImportsFromXmlObj" access="public" returntype="void" hint="finds and caches include file paths">
  		<cfargument name="importFiles" type="struct" required="true" />
  		<cfargument name="beanDefinitionXmlObj" type="any" required="true" hint="I am parsed xml bean defs"/>
  		<cfset var i = 0>
  		<cfset var xml = 0>
  		<cfset var imports = 0>
  		<cfset var resource = "">
  
  		<cfset xml = xmlParse(arguments.beanDefinitionXmlObj)>
  		<cfset imports = xmlSearch(xml,"/beans/import")>
  		
  		<cfset structInsert(arguments.importFiles,"root",xml,false)>
  		
  		<cfif arrayLen(imports) GT 0>
  			<cfloop from="1" to="#arrayLen(imports)#" index="i">
  				<cfset resource = imports[i].xmlAttributes.resource>
  				<cfif left(resource,1) IS "/" and not fileExists(resource)>
  					<cfset resource = expandPath(resource)>
  				<cfelseif left(resource,1) is ".">
  					<cfset resource = shrinkFullRelativePath(expandPath(resource))>
  				</cfif>
  				
  				<cfif not fileExists(resource)>
  					<cfthrow message="The file #resource# does not exist!"
  							detail="You have tried to use or include a file (#resource#) that does not exist using either absolute, relative, or mapped paths." />
  				</cfif>
  
  				<cfset findImports(arguments.importFiles,resource)>
  			</cfloop>
  		</cfif>
  
  	</cffunction>
  
  	<cffunction name="shrinkFullRelativePath" access="public" output="true" returntype="string">
  		<cfargument name="fullPath" type="string" required="true" />
  	
  