[openSUSE/open-build-service] 75d09d: Fix broken specs in Kiwi::Image model
![](https://seccdn.libravatar.org/avatar/9181eb84f9c35729a3bad740fb7f9d93.jpg?s=120&d=mm&r=g)
Branch: refs/heads/depfu/update/srcapi-2.10/nokogiri-1.13.4
Home: https://github.com/openSUSE/open-build-service
Commit: 75d09df2f3b1d5ceae04b488226b540d99c4da3d
https://github.com/openSUSE/open-build-service/commit/75d09df2f3b1d5ceae04b4...
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