| I don't think this use case should be handled in a special way. An empty file is just a marker - the container can only test the existence. Once you add a content the file must be parsed and it's ok if the containter fails for an invalid xml file. Using <!-- empty beans xml --> <beans/> is the way to go. |