[one-users] ONE-2.0 CDATA in XML output

Shi Jin jinzishuai at gmail.com
Wed Dec 1 11:54:15 PST 2010


Superb! Thank you very much.

Shi

On Wed, Dec 1, 2010 at 11:46 AM, Daniel Molina Aranda
<danmolin at fdi.ucm.es>wrote:

> Hi,
>
> This issue is fixed here:
> http://dev.opennebula.org/issues/381
>
> In the next maintenance release this change will be included.
>
> Regards.
>
> On 1 December 2010 19:38, Shi Jin <jinzishuai at gmail.com> wrote:
>
>> Yeah, same here :| ...
>>>
>>> OpenNebula can produce the XML output both using the Nokogiri gem or
>>> REXML if Nokogiri is not found. I'm using Nokogiri with the last git
>>> version and all CDATA content I can see is on the same line as the
>>> enclosing labels.
>>>
>>> Perhaps it is the case that you are not using nokogiri? If so, you can
>>> consider trying again after installing it.
>>>
>>> Hector
>>>
>>> Thanks Hector.
>> After installing nokogiri, the same old code just works.
>> It is interesting that I am still using REXML on my scripts but Opennebula
>> automatically uses nokorigi to take care its own XML handling which is now
>> doing the proper output (and it looks better too).
>>
>> But still, I think OpenNebula should work with both REXML and Nokogiri and
>> there might be some  work needed for the REXML to output the proper format.
>>
>> Thanks.
>> Shi
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
> --
> Daniel Molina, Cloud Technology Engineer/Researcher
> DSA Research Group: web http://dsa-research.org and blog
> http://blog.dsa-research.org
> OpenNebula Open Source Toolkit for Cloud Computing:
> http://www.OpenNebula.org
>



-- 
Shi Jin, Ph.D.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20101201/a0c1145b/attachment-0003.htm>


More information about the Users mailing list