Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Parser.pm -- not well-formed error
- Rishi Dhupar
April 13, 2005, 11:21 am
rate this thread
General idea of what I am doing: Running a file scan on my hard drive
that is storing the info into an XML file. Then another perl script I
have wrote is parsing this data and making use of it.
Keep getting this error:
not well-formed (invalid token) at line 1742, column 29, byte 67305 at
ite/lib/XML/Parser.pm line 187
The line in the XML file is:
<FileName>3½ Floppy (A).lnk</FileName>
The issue is obviosuly the 1/2 symbol. Is there anyway way to get
around this error? I cannot delete the 1/2 symbol or anything, I need
it exactly the way it is.
Any way to have the parser not validate the XML data or something and
just take it as a literal string?