Error in parsing xml - not well-formed (invalid token)

"Kapoor, Nishikant" <nishikant.x.kapoor-CDGYnrjxVPGpp/[email protected]> Wed, 1 Feb 2006 14:21:11 -0600
Newsgroups gmane.user-groups.linux.delhi.devel,gmane.user-groups.linux.delhi
Message-ID <B4448B75FF74124ABB5793D8BFBEEA3901C13DDA@exccpgo04.corp.xcelenergy.com>
Hello all,

I am trying to parse a XML file, and getting this error. Could anyone sugge=
st a better way...please. =


I have already tried XML::Simple, XML:Twig and XML::Parser::Lite, but witho=
ut any success. =


Thanks
Nishi

#!/usr/bin/perl -w
  use strict;

  use XML::Simple;
  my $xs1 =3D XML::Simple->new();
  eval {$xs1->XMLin(\*DATA);};
  if ($@) {print "XML::Simple failed...$@";}

  use XML::Parser::Lite;
  my $p1 =3D new XML::Parser::Lite;
  $p1->setHandlers(
    Start =3D> sub { shift; print "start: @_\n" },
    Char =3D> sub { shift; print "char: @_\n" },
    End =3D> sub { shift; print "end: @_\n" },
  );
  $p1->parse(\*DATA);

  __DATA__
<xml xmlns:s=3D"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" =

xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:rs=3D"urn:sche=
mas-microsoft-com:rowset" xmlns:z=3D"#RowsetSchema">
  <rs:data>
    <z:row Abstract=3D"Blending scholarship and activism, whether domestic =
or =

international, takes some real work. Two scholar-activists reflect on why a=
nd how activism can be more than academic labor in this feature of the "Aca=
deme" journal. This feature includes the following brief reflections on pol=
itical work, both local and global that demonstrates how on campus and off =
campus, faculty members can make a difference: (1) "The Ivory Tower and =

Scholar-Activism" (Donald Earl Collins); and (2) "Utopian Universities and =

International Activism" (Patrick Brantlinger)." />
  </rs:data>
</xml>