|
On startup, ModelBinder is filling logs with warning:
"HHH90000003: Use of DOM4J entity-mode is considered deprecated"
even if no DOM4J nodes are defined. By examining the ModelBinder source code, I've found two places (in createEmbeddedAttribute and bindProperty) where those messages are most likely falsely generated. In both places warning is generated when name of source is present. I believe that proper check should check if result of getXmlNodeName (and not getName) is empty. By changing those two lines, I've got rid of warnings.
Small patch is attached.
|