Added fix to handle Boolean values in XML. 
Before it did not accept false/true.
Added throw Exception when fatal error occured. Used to only log the
problem as warning. That could result in not valid (complete) XML
representation. 

Change log level to debug (from info).