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