Skip to content

Instantly share code, notes, and snippets.

@d1rtym0nk3y
Created January 22, 2013 12:12
Show Gist options
  • Save d1rtym0nk3y/4594196 to your computer and use it in GitHub Desktop.
Save d1rtym0nk3y/4594196 to your computer and use it in GitHub Desktop.
coldspring 2 util:map bug on Railo
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.coldspringframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:util="http://www.coldspringframework.org/schema/util"
xsi:schemaLocation="http://www.coldspringframework.org/schema/beans http://coldspringframework.org/schema/coldspring-beans-2.0.xsd
http://www.coldspringframework.org/schema/util http://coldspringframework.org/schema/coldspring-util-2.0.xsd">
<util:map id="mapBean">
<entry key="keya" value="key a value"/>
<entry key="keyb" value="key b value"/>
</util:map>
</beans>
<cfscript>
beanFactory = new coldspring.beans.xml.XmlBeanFactory(expandpath("./coldspring.xml"));
dump(beanfactory.getBean("mapBean"));
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment