Subject: | DTD-Validation Bug ? |
perl is 5.8.0
system is Mac OS X 10.2.3 with latest developer tools
Using an XML-Document with a DOCTYPE-Definition which does not follow the DTD defined therein parse_file and parse_fh seem to behave different.
The two scripts attached show the problem:
While check_dtd_fh.pl seems to validate the XML-Document check_dtd_file.pl doesn't seem to, which seems to be related to setting recover to true.
I use XML::LibXML 1.52 (due to the known issues with AxKit) on Mac OS X 10.2.3. If you need any further information please send me a mail.
íákÓ@Æû5÷W¼kMÁ®Iº´ÐáPtPt 2Òä=Ìîâå²!£ÿ»o.εC´CZ¿¼¿½ðÜ{ï=wété×Ìfùò¨,:» `ÇNÚ1Û±ÑÆa&Âq4DÑôp4ÚNÜÜ£®lbhË*
¨£²<ß¡ýÒ;Õ-¤h
^QW52µ'îùëùl6[áìÍlö2QY'BôàÁÄ"$ ðÊÄThÄåw8l7êFÃÓ«¤Yb¥V~8XÓ
¦ú
©ÿm¿æ=Y°Kt[HõÅíË[+íFëÖùL§õ%*:9øëõÃÓ<Ó%*¿Ñöß??{=x]ÓàFx¿ü¸²±¼yÂsM ~~AÎÉ!)©®~M¤r¶ÑmçF*]º
ppôIu©×JxXÐåÞl(mÛ2è§Isù:oÚÜ."gJ]ÑÙW[¾ÿô.ÿÔe7_¿å?¦wùcÿq|ÌùßÎÿÎûZïÇþ¿þáÓ·/Þ>»p><¿æJÜsÛ\n>aaaaaaaaçB×È (