[one-users] opennebula xml parse error ( CLI and JAVA API ) patch for 1.4 ( Bug 174 in release 2.0 )

Tino Vazquez tinova at fdi.ucm.es
Thu Sep 30 08:39:37 PDT 2010


Dear Shashank,

I am not sure if this is needed anymore in v2.0, since xml with the CDDATA
to encapsulate text is used for every field. I would be grateful if you
could verify this, and if your patch is still needed, we will evaluate its
inclusion.

Best regards,

-Tino

--
Constantino Vázquez Blanco | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula Toolkit | opennebula.org


On Tue, Aug 24, 2010 at 9:06 AM, Shashank Rachamalla <
shashank.rachamalla at hexagrid.com> wrote:

> Hi
>
> I was referring to bug 174
> http://dev.opennebula.org/issues/174
>
> Can somebody provide a patch to v1.4 as the bug seems to be fixed in 2.0.
>
> Currently 1.4 is being used in our production and I am somehow managing
> with the following changes:
>
> *CLI fix *- Install NOKOGIRI
>
> 1) ruby developer packages
>
> sudo apt-get install ruby1.8-dev ruby1.8 ri1.8 rdoc1.8 irb1.8
> sudo apt-get install libreadline-ruby1.8 libruby1.8 libopenssl-ruby
>
> 2) nokogiri requirements
> sudo apt-get install libxslt-dev libxml2-dev
>
> 3) sudo gem install nokogiri
>
> *JAVA API* fix
>
> can be done in one-java/src/org/opennebula/client/Client.java ( This file
> belongs to source code of OpenNebula JAVA API)
>
> Line Number: 105
>
> // replacing &
> if(msg.contains("&"))
> {
>     msg = msg.replace("&"," ");
> }
>
> This ensures that XML content is free from '&' symbol.
> -
> Regards,
> Shashank Rachamalla
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100930/5343897f/attachment-0002.htm>


More information about the Users mailing list