Skip Menu |
 

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

Report information
The Basics
Id: 17044
Status: resolved
Priority: 0/
Queue: XML-Twig

People
Owner: MIROD [...] cpan.org
Requestors: michal.lewandowski [...] lhsystems.pl
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 3.22
Fixed in: 3.23



Subject: Bug in Twig::prolog method, sysid info missing
Download (untitled) / with headers
text/plain 328b
There is a bug in prolog() method while using UpdateDTD option. Following line of code is missing right after "SYSTEM ..." information print out: $dtd .= ' "' . $doctype->{sysid} . '"' if( $doctype->{sysid}); It is done correctly few lines below (UpdateDTD == false). This bug causes invalid XML generation. Best Greetings
Download (untitled) / with headers
text/plain 563b
On Fri Jan 13 04:17:40 2006, guest wrote: Show quoted text
> There is a bug in prolog() method while using UpdateDTD option. > Following line of code is missing right after "SYSTEM ..." information > print out: > $dtd .= ' "' . $doctype->{sysid} . '"' if( $doctype->{sysid}); > It is done correctly few lines below (UpdateDTD == false). > This bug causes invalid XML generation.
Hi, Indeed, it is a bug. It is hopefully fixed on the development version at http://xmltwig.com/xmltwig/ . I cleaned up the code a little bit, so let me know if it works for you. Thanks. __ mirod


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.