Bug #1184
Error parsing XMLs with spaces
| Status: | Closed | Start date: | 03/27/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % 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
Bug #1184: XML template parser takes into account whitespaces text nodes
bug #1184: No need to delete blanks for XMLs to update templates
Bug #1184: XML template parser takes into account whitespaces text nodes
(cherry picked from commit fe7a9e6eb4e01413beada869b1c93f4da9f050bd)
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
    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
    Updated by Ruben S. Montero over 9 years ago
    - Status changed from New to Closed
- Resolution set to fixed