Skip Menu |

This queue is for tickets about the Log-Log4perl-Layout-XMLLayout CPAN distribution.

Report information
The Basics
Id: 8430
Status: resolved
Priority: 0/
Queue: Log-Log4perl-Layout-XMLLayout

People
Owner: Nobody in particular
Requestors: sbob [...] t2.technion.ac.il
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.01
Fixed in: (no value)



Subject: Chainsaw compatibility is broken.
Log::Log4perl::Layout::XMLLayout Because of the first line <?xml version = "1.0" encoding = "iso8859-1"?> Chainsaw refuses to read the file And there is no convenient way to remove this line The brutal force work around is to remove the following lines from the .pm file if(!($self->{'enc_set'})) { $xml_code=join("\n", qq(<?xml version = "1.0" encoding = "$self->{'encoding'}"?>) , $xml_code); $self->{'enc_set'}=1;
From: gcarls [...] cpan.org
Version 0.02 of XMLLayout fixes t is problem: Simply do not define the Encoding Layout-Attribute in the Layout configuration. This will suppress the preceeding <?xml version = "1.0" encoding = "iso8859-1"?>. Best regards, G. Carls. [guest - Sun Nov 14 11:01:08 2004]: Show quoted text
> > Log::Log4perl::Layout::XMLLayout > Because of the first line > <?xml version = "1.0" encoding = "iso8859-1"?> > Chainsaw refuses to read the file > And there is no convenient way to remove this line > > The brutal force work around is to remove the following lines from the > .pm file > if(!($self->{'enc_set'})) { > $xml_code=join("\n", qq(<?xml version = "1.0" encoding = "$self-
> >{'encoding'}"?>)
> , $xml_code); > $self->{'enc_set'}=1; > >
Version 0.02 of XMLLayout fixes the XMLLayout/chainsaw problem. Please read the updated module pod and the changes comments to get more informations. Best regards, GCARLS