[openSUSE/open-build-service] 1aca8c: 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: 1aca8cf50f300a1296fec57f085f83a62b2b20bd
https://github.com/openSUSE/open-build-service/commit/1aca8cf50f300a1296fec5...
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