[openSUSE/open-build-service] db6bda: Fix broken specs in Kiwi::Image model
Branch: refs/heads/depfu/update/srcapi/flipper-0.24.0
Home: https://github.com/openSUSE/open-build-service
Commit: db6bda19896aae288495a8cdb48a6453f944387a
https://github.com/openSUSE/open-build-service/commit/db6bda19896aae288495a8...
Author: Dany Marcoux
XML::DocumentFragment#errors now correctly contains any parsing errors encountered. Previously this was always empty. (Note that HTML::DocumentFragment#errors already did this.
Relying on XML::DocumentFragment was wrong since the XML generated by the Kiwi::Image's to_xml and kiwi_body methods is not a document fragment, but a document. They contain a XML declaration (`<?xml ...?>`), so changing the class solves the issue.
participants (1)
-
Dany Marcoux