Use libxml internal errors