Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by swaroop on Dec 14, 2008 21:31
open dhtmlx forum
Is there any limitations for no. of values into the "coro"?

Sir
    i am using "coro" type in cells.
    I have 10 records in my grid. each record have 1 cell of type "coro"
    in that "coro" i am putting values of country names.
    I have around 250+ names.
    The xml is failed to upload if i give 150 names in the coro
    If I give 100 names then it works
    
    The Error is--
    Error Type: LoadXML
    Description:Incorrect XML
    
    Is there any limitations for no. of values into the "coro"?
Answer posted by Support on Dec 15, 2008 02:01
There is no limitation on count of values,most possible that name of country contain some special char which corrupt XML syntax
You can try to 
a) adjust xml encoding
          <?xml version="1.0" encoding="iso-8859-1" ?>
b) try to use CDATA 
       <option value="some"><![CDATA[  any text here ]]></option>

If issue still occurs for you - please provide a sample of  problematic XML