Added support for XmlFoldingStrategy

Added support for XmlFoldingStrategy and retrieving the FoldingErrors.