[one-users] Failed to validate XML RPC answers

Carlos Martín Sánchez cmartin at opennebula.org
Tue Apr 2 06:32:03 PDT 2013


Hi,

I believe you will need to edit your xml file with something like

<VM_POOL xmlns='http://opennebula.org/XMLSchema' xmlns:xsi='
http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='
http://opennebula.org/XMLSchema path/to/vm_pool.xsd'>

Regards

--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>


On Mon, Apr 1, 2013 at 12:40 AM, Nicolas Bélan <nicolas.belan at gmail.com>wrote:

> Hello the list,
>
> I am trying to validate the XML answers from RPC call (see joined
> files), I got the following error:
>
> $ xmllint --schema vmpool.xsd sample_vmpool.xml
> sample_vmpool.xml:2: element VM_POOL: Schemas validity error : Element
> 'VM_POOL': No matching global declaration available for the validation
> root.
> sample_vmpool.xml fails to validate
>
>
> The XSD files are the one found in the documentation.
>
> Where Am i wrong ? The VM_POOL node is present, and the xsd file is well
> formed... I should not see something clear :'(
>
> Best regards,
> Nicolas
>
> _______________________________________________
> 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/20130402/2e0319ae/attachment-0001.htm>


More information about the Users mailing list