Skip Menu |

This queue is for tickets about the XML-Handler-YAWriter CPAN distribution.

Report information
The Basics
Id: 2124
Status: new
Priority: 0/
Queue: XML-Handler-YAWriter

People
Owner: Nobody in particular
Requestors: mah [...] everybody.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Patch for to work with XML::SAX
The attached patch allows people to build and test this module with the newer XML::SAX interface. I avoid XML::Parser.
diff -u XML-Handler-YAWriter-0.23/Makefile.PL XML-Handler-YAWriter-patch/Makefile.PL --- XML-Handler-YAWriter-0.23/Makefile.PL Fri Feb 23 21:31:42 2001 +++ XML-Handler-YAWriter-patch/Makefile.PL Wed Feb 19 15:17:24 2003 @@ -6,7 +6,6 @@ 'VERSION_FROM' => 'YAWriter.pm', 'EXE_FILES' => [ 'xmlpretty' ], 'PREREQ_PM' => { - 'XML::Parser::PerlSAX' => 0.06, 'IO::File' => 1.06 } ); diff -u XML-Handler-YAWriter-0.23/test.pl XML-Handler-YAWriter-patch/test.pl --- XML-Handler-YAWriter-0.23/test.pl Thu Jun 28 04:46:31 2001 +++ XML-Handler-YAWriter-patch/test.pl Wed Feb 19 15:14:48 2003 @@ -9,7 +9,7 @@ BEGIN { $| = 1; print "1..5\n"; } END {print "not ok 1\n" unless $loaded;} use XML::Handler::YAWriter; -use XML::Parser::PerlSAX; +use XML::SAX; use IO::File; $loaded = 1; print "ok 1\n"; @@ -25,7 +25,7 @@ 'Output' => $xml_file, 'Pretty' => { 'CatchWhiteSpace' => 1 } ); -my $parser = new XML::Parser::PerlSAX( 'Handler' => $handler ); +my $parser = XML::SAX::ParserFactory->parser( 'Handler' => $handler ); $parser->parse( 'Source' => { 'SystemId' => 'linux.1.xml' } ); $xml_file->close();
Date: Thu, 20 Feb 2003 19:58:01 +0100
From: Michael Koehne <kraehe [...] copyleft.de>
To: via RT <bug-XML-Handler-YAWriter [...] rt.cpan.org>
Subject: Re: [cpan #2124] Patch for to work with XML::SAX
RT-Send-Cc:
Moin via RT, Show quoted text
> This message about XML-Handler-YAWriter was sent to you by MAHEX > <MAHEX@cpan.org> via rt.cpan.org > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=2124 >
the ticket did neither show a patch - nor the definition of the problem. Show quoted text
> The attached patch allows people to build and test this module with
the newer XML::SAX interface. I avoid XML::Parser. there was no patch attached ;-( Bye Michael -- mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:2.4.18'UNZ+1' http://www.xml-edifact.org/ CETERUM CENSEO WINDOWS ESSE DELENDAM