xml declaration not at start of external entity

xml India
  • 13 years ago
    hiii,
    Please do fast reply. its urgent.
    i have and error in ajax. and ie xml declaration not at start of external entity.
    how i can remove it.
    thanks


    XML Parsing Error: xml declaration not at start of external entity
    Location: http://192.168.1.6/idoweddings/index.php?_act=manageWeddingRequest1API&DO=getState&id=6
    Line Number 1, Column 2:    <?xml version='1.0' encoding='iso-8859-1'?><list_data>    <id>1</id>    <name>England</name>    <id>2</id>    <name>France</name>    <id>3</id>    <name>Germany</name>    <id>4</id>    <name>Italy</name></list_data>
    --------^

    thanks again
    vineet














  • 13 years ago
    I replied to your newer post...

  • 13 years ago

    Hi,

    Please see at bellow line with correction in green colour

    Written By u:

     <?xml version='1.0' encoding='iso-8859-1'?><list_data>

    Corrected Line:

     <?xml version="1.0" encoding="ISO-8859-1"?><list_data>

    I hope this will solve your propblem.

    Thank you,

    Regards

    Raghavendra K

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“It works on my machine.” - Anonymous