Xml parsing error

Xml parsing error using Domparser

Page 1 of 1

2 Replies - 521 Views - Last Post: 12 November 2009 - 09:30 AM Rate Topic: -----

#1 digbijoyd  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 17
  • Joined: 10-April 09

Xml parsing error

Post icon  Posted 12 November 2009 - 06:53 AM

We are using Domparser to parse the XML. A particular XML giving the following problem.

Stack Trace :

--------------------------------------------------------------------

Unable to create XML DOM Document representation from a String. The reference to entity "ID" must end with the ';' delimiter

------------------------------------------------------------------

The usual & is replaced with &amp; . Even all other XML working the same way. I have also checked if any other special charecter like >> or < etc is present. Even strange this troubled XML is opening in IE browser but only not able to parse.

Any clue why this is happening.

Is This A Good Question/Topic? 0
  • +

Replies To: Xml parsing error

#2 ajwsurfer  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 21
  • View blog
  • Posts: 373
  • Joined: 24-October 06

Re: Xml parsing error

Posted 12 November 2009 - 08:28 AM

Nope. With this abundance of information I don't think it will be possible to figure it out either.
Was This Post Helpful? 0
  • +
  • -

#3 g00se  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 2733
  • View blog
  • Posts: 11,509
  • Joined: 20-September 08

Re: Xml parsing error

Posted 12 November 2009 - 09:30 AM

Looks like you might have

&ID

in the document
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1