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

Report information
The Basics
Id:
17044
Status:
resolved
Priority:
Low/Low
Queue:

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

BugTracker
Severity:
Important
Broken in:
3.22
Fixed in:
3.23



Subject: Bug in Twig::prolog method, sysid info missing
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
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 runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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