Form binding

I’m creating a form from XML

<items> <item type="input" name="Id" value="" label="Id" bind="Id" /> <item validate="NotEmpty" type="input" name="NazovProjektu" bind="NazovProjektu" value="" label="NazovProjektu" /> <item type="input" name="Oz" value="" label="Oz" bind="Oz" /> <item type="input" name="PopisProjektu" value="" bind="PopisProjektu" label="PopisProjektu" /> <item type="input" name="Poznamka" value="" label="Poznamka" bind="Poznamka" /> <item validate="NotEmpty" type="input" name="DatumVytvorenia" value="" bind="DatumVytvorenia" label="DatumVytvorenia" /> <item type="button" value="Submit" command="submit"/> </items>

After the form is loaded,I’m calling the load function to load data into the form.

The returned XML

<Data xmlns=""> <Id>2</Id> <NazovProjektu>ioris22</NazovProjektu> <Oz>123456</Oz> <PopisProjektu>popis</PopisProjektu> <Poznamka>wecc</Poznamka> <DatumVytvorenia>29. 12. 2009</DatumVytvorenia> </Data>

But the form is throwing an exception

Error type:LoadXML
Description: Incorect XML

But according to the doc,the xml format should be validt ? What’s going wrong ?

the problem was the data element was write with first letter as uppercase