Change in ovirt-engine[master]: core: robust handling of the top-level element in ovf

Code Review gerrit at ovirt.org
Wed Jul 19 10:17:07 UTC 2017


>From Arik Hadas <ahadas at redhat.com>:

Arik Hadas has submitted this change and it was merged. ( https://gerrit.ovirt.org/79483 )

Change subject: core: robust handling of the top-level element in ovf
......................................................................


core: robust handling of the top-level element in ovf

The OVF specification indicates that the top-level element of an OVF
should be "Envelope" but doesn't state whether it should be with an
XML namespace or not. In some examples the element is "ovf:Envelope"
and in other example it is simply "Envelope".
This patch changes the OVF reader to be able to parse both cases.

Change-Id: I2ec7259ecfaf5c48b61d8e580a5f1031b6c45eeb
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ovf/OvfReader.java
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Shmuel Leib Melamud: Looks good to me, but someone else must approve
  Arik Hadas: Verified; Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/79483
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2ec7259ecfaf5c48b61d8e580a5f1031b6c45eeb
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Shmuel Leib Melamud <smelamud at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list