SPUG: & causing problems with Parser.pm
Brittingham, John
john.brittingham at attws.com
Thu Sep 6 13:16:27 CDT 2001
Help..
When I try to process an XML file using XML::Twig that has an "&" anywhere
in it I get this message.
undefined entity at line 23, column 79, byte 1331 at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/XML/Parser.pm line 185
One of the affending XML lines is "<LI><A
HREF="http://knowissue.entp.attws.com:6668/servlet/IsuEngine?view=detail&id;
=2815">Equipment issues log</A>".
The error is happening here "my $s_name = $module->first_child(
'FIX'); # get the elements
$subproc_xml =
$s_name->child($n, 'SUBPROC')->sprint || print "FIX not Found\n"; # get
their text"
What can I do to fix this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/archives/spug-list/attachments/20010906/10693f2f/attachment.htm
More information about the spug-list
mailing list