VMware Cloud Community
chorgeas
Hot Shot
Hot Shot

Datatype error: Type:InvalidDatatypeValueException

Hi,

I am getting following error message while checking ovf file using --schemaValidate option.

C:\Program Files\VMware\VMware OVF Tool>ovftool.exe --schemaValidate "w:\Virtual Appliance\testVA.ovf"
Opening OVF source: w:\Virtual Appliance\testVA.ovf
Error:
- Line 5: Could not parse the document: 'w:\Virtual Appliance\testVA.ovf: Datatype error: Type:InvalidDatatypeValueException, Message:Value 'testVA-disk1.vmdk' is NOT a valid URI . (column 122)'.

Could you please let me know is this a serious error? Because I am able to deploy my VM in vCenter Server 4.0 amd also able to boot the VM.

Need to know if I continue with this error then where I will get problem? i.e. Deployment in other VMware products/Booting in other VMware products etc..

Reply
0 Kudos
4 Replies
chorgeas
Hot Shot
Hot Shot

And the 5th line is ;

<File ovf:href="xxxxx xxxxxxx xxxxxxxxxxxx xxxxxxxx xxxxxxxx-disk1.vmdk" ovf:size="888608256" ovf:id="system.file1"/> 

Reply
0 Kudos
chorgeas
Hot Shot
Hot Shot

I think I found the answer, i.e. in <File ovf:href="xxxx xxxx" section spaces are not allowed.

Please correct me if I am wrong.

Reply
0 Kudos
chorgeas
Hot Shot
Hot Shot

Yes thats the correct answer.

Spaces are not allowed in a uri (or a url, for that matter). If you want a space, you'll have to encode it.

Reply
0 Kudos
DSTAVERT
Immortal
Immortal

You did a lot of work on this post. Smiley Wink

I don't know whether the %20 works for a space here or not.

-- David -- VMware Communities Moderator
Reply
0 Kudos