This little snippet:
Code:
  <bean> 
    <property name="...">
      <map>
        <entry>
          <key
            <util:constant static-field="some.class.CONSTANT" />
          </key>
          <value><util:constant static-field="some.class.OTHER_CONSTANT" /></value>
        </entry>
      </map>
    </property>
  </bean>
Seems to throw the error:
Code:
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.d: Invalid content was found starting with element 'util:constant'. No child element is expected at this point.
	at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
Does this mean that constants can't be used as map values?