nan has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
I encountered a really weird error while using perl script to search in a big XML/RDF file (225MB) in CGI.
I don't know what's wrong with it as the script works perfectly with a sample XML/RDF file (only 4K) which is the same format as the big one and their only difference is the file size. I attached the error msg below for your reference
Software error:
not well-formed (invalid token) at line 221, column 97, byte 12020 at C:/Perl/site/lib/XML/Parser.pm line 187
I have searched through perl-xml Q&A's and it seems that I did't have problems they listed such as double quotations or incorrect encoding notations. So pls could anyone offer some suggestions?
many many thanks,
<?xml version='1.0' encoding='UTF-8' ?>
<RDF>
<Topic r:id="Top/Arts/Movies/Titles/1/10_Rillington_Place">
<link r:resource="http://www.britishhorrorfilms.co.uk/rillington.shtml"/>
<link r:resource="http://www.shoestring.org/mmi_revs/10-rillington-place.html"/>
<link r:resource="http://www.tvguide.com/movies/database/ShowMovie.asp?MI=22983"/>
<link r:resource="http://us.imdb.com/title/tt0066730/"/>
</Topic>
</RDF>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Why XML not well formed?
by davorg (Chancellor) on Jun 30, 2005 at 13:07 UTC | |
by Fletch (Bishop) on Jun 30, 2005 at 13:23 UTC | |
by nan (Novice) on Jun 30, 2005 at 15:46 UTC | |
by davorg (Chancellor) on Jun 30, 2005 at 15:54 UTC | |
by nan (Novice) on Jul 06, 2005 at 17:01 UTC | |
Re: Why XML not well formed?
by mirod (Canon) on Jun 30, 2005 at 13:34 UTC | |
by nan (Novice) on Jun 30, 2005 at 15:51 UTC | |
by Anonymous Monk on Feb 20, 2010 at 17:36 UTC | |
Re: Why XML not well formed?
by BaldPenguin (Friar) on Jun 30, 2005 at 15:40 UTC | |
by nan (Novice) on Jun 30, 2005 at 15:49 UTC | |
by BaldPenguin (Friar) on Jun 30, 2005 at 16:03 UTC | |
by davorg (Chancellor) on Jun 30, 2005 at 16:11 UTC | |
by holli (Abbot) on Jun 30, 2005 at 16:28 UTC | |
| |
by graff (Chancellor) on Jul 03, 2005 at 05:33 UTC | |
by nan (Novice) on Jul 06, 2005 at 17:04 UTC | |
by BaldPenguin (Friar) on Jul 06, 2005 at 17:32 UTC |