virXMLParseHelper: Rework error reporting
virXMLParseHelper: Rework error reporting

Move the reporting of parsing error on the error path of the parser as
other code paths report their own errors already.

Additionally prefer printing the 'url' as document name if provided
instead of "[inline data]" as that usually gives a better hint at least
which kind of XML is being parsed.

Signed-off-by: Peter Krempa <2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com>
Reviewed-by: Tim Wiederhake <da93ee425e056cfcf1ddac9fc87851b25464abf4@redhat.com>

olafhering/libvirt,nertpinx/libvirt,olafhering/libvirt,zippy2/libvirt,olafhering/libvirt,crobinso/libvirt,libvirt/libvirt,libvirt/libvirt,zippy2/libvirt,nertpinx/libvirt,jfehlig/libvirt,crobinso/libvirt,nertpinx/libvirt,zippy2/libvirt,olafhering/libvirt,nertpinx/libvirt,libvirt/libvirt,crobinso/libvirt,jfehlig/libvirt,libvirt/libvirt,nertpinx/libvirt,jfehlig/libvirt,crobinso/libvirt,jfehlig/libvirt,zippy2/libvirt