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
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