XML serializer adds extra spaces / newlines to text

Bug #814517 reported by Salvatore Orlando
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Tyler Smith
quantum (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Precise by Yolanda Robla

Bug Description

The XML serializer adds unwanted characters to element values.

For instance the response for the API operation "get port details" returns the following:

<port id="539a072b-9830-4f49-bd28-b92f335091fc" state="
        ACTIVE
    "/>

The 'state' element has newline characters and spaces. Desired response should be:
<port id="539a072b-9830-4f49-bd28-b92f335091fc" state="ACTIVE"/>

Changed in quantum:
assignee: nobody → Salvatore Orlando (salvatore-orlando)
Changed in quantum:
assignee: Salvatore Orlando (salvatore-orlando) → Tyler Smith (tylesmit)
Revision history for this message
Tyler Smith (tylesmit) wrote :
Changed in quantum:
status: New → Fix Committed
Changed in quantum:
importance: Undecided → Low
dan wendlandt (danwent)
Changed in quantum:
status: Fix Committed → Fix Released
Changed in quantum (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.