Added support for XML metadata driver