[openSUSE/open-build-service] 7436d0: 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: 7436d0495533543bd0d5928b845ec934e0e37b3c
https://github.com/openSUSE/open-build-service/commit/7436d0495533543bd0d592...
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