Bug #1184

Error parsing XMLs with spaces

Added by Carlos Martín over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:03/27/2012
Priority:NormalDue date:
Assignee:Ruben S. Montero% Done:

0%

Category:Core & System
Target version:Release 3.4
Resolution:fixed Pull request:
Affected Versions:OpenNebula 3.4

Description

The opennebula template parser is not taking into account that whitespaces are text nodes.

This XML is not properly parsed:

<TEMPLATE>
  <VECTOR_ATT>
    <ATT1>value</ATT1>
    <ATT2>value</ATT2>
  </VECTOR_ATT>
</TEMPLATE>

Associated revisions

Revision fe7a9e6e
Added by Carlos Martín over 9 years ago

Bug #1184: XML template parser takes into account whitespaces text nodes

Revision 74a0cf6c
Added by Ruben S. Montero over 9 years ago

bug #1184: No need to delete blanks for XMLs to update templates

Revision 8dd1b4b3
Added by Carlos Martín over 9 years ago

Bug #1184: XML template parser takes into account whitespaces text nodes
(cherry picked from commit fe7a9e6eb4e01413beada869b1c93f4da9f050bd)

Revision 2b0a7106
Added by Ruben S. Montero over 9 years ago

bug #1184: No need to delete blanks for XMLs to update templates
(cherry picked from commit 74a0cf6cf92ead1a7faf82ca0a55259c9d4dbdae)

History

#1 Updated by Ruben S. Montero over 9 years ago

  • Assignee changed from Carlos Martín to Ruben S. Montero

#2 Updated by Ruben S. Montero over 9 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Also available in: Atom PDF