Error parsing XML using TXMLDocument lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- @nton · 2012-07-16 10:47 I try to open an XML file generated by STARUML to find some information stored inside. (the file is attached) I followed the XML tutorial from the WIKI and came up with the following code (abbreviated): uses laz2_XMLRead, laz2_DOM var    BCMDocument : TXMLDocument;          try          ReadXMLFile(BCMDocument, edtBCMBestand.Text);          {Do Something}      finally         BCMDocument.Free;      end; the statement: ReadXMLFile(BCMDocument, edtBCMBestand.Text); gives the following error: In 'file:///C:/ TestStarUMLProject.uml' (Line 39 Pos 65) Invalid character. The file opens fine in Firefox, Explorer and in the lazarus IDE. Other tools seem not to have any problems with this file. I can't see any invalid characters Am I missing something, is it a Bug? Please Help! ---------------------------------------------------------------------- Leledumbo · 2012-07-16 12:09 Update your lazarus, it works in recent revision. ---------------------------------------------------------------------- @nton · 2012-07-16 12:34 Currently I am using v0.9.30.4 with fpc 2.6.0. On Windows XP. Isn't that the latest? ---------------------------------------------------------------------- Leledumbo · 2012-07-16 12:37 I mean, daily snapshot/svn version. ---------------------------------------------------------------------- BigChimp · 2012-07-16 12:37 Perhaps the latest released "stable" version. Unfortunately it's a long way behind with bug fixes etc. While a new Lazarus release is being worked on, I'd suggest downloading and installing a Lazarus + fpc 2.6.1 win32 Daily Snapshot (see link to left) ---------------------------------------------------------------------- @nton · 2012-07-16 15:48 Thanks Leledumbo and BigChimp! It works! Lazarus is also a lot faster (compliments!)