CC: | "'gander.peter [...] gmail.com'" <gander.peter [...] gmail.com> |
Subject: | Bug Report in XML::Parser |
Date: | Wed, 6 Sep 2017 09:48:38 +0000 |
To: | "'bug-XML-Parser [...] rt.cpan.org'" <bug-XML-Parser [...] rt.cpan.org> |
From: | Peter Gander <p.gander [...] schmidlinag.ch> |
Helo,
i'd like to report an Error in the Modul XML::Parser.
The bug is not depending on the Platform (Windows or Unix).
The bug takes only place with an XML-File exeeding a certain Size (about 108 kB).
The source XML-File is corectly written ant displayed in any Browser.
The Test-Perl Program is Attached: xml2esr_bugRep.pl
The Output oft he Program is xxx2.txt, a Textfile.
The Bug is visible on line 2051 and 2052
Where twice the same line is displayed :
Document/BkToCstmrDbtCdtNtfctn/Ntfctn/Ntry/NtryDtls/TxDtls/RltdDts/AccptncDtTm
Document/BkToCstmrDbtCdtNtfctn/Ntfctn/Ntry/NtryDtls/TxDtls/RltdDts/AccptncDtTm
Probably because of a « Memory allocation Problem » ? the sub hdl_Char is called twice...
Effectiveli there is only 1 char element in the source xml file.
Before the Bug appeard, it was working more then 100 times correctly.
If the source XML-File is not so big, the Problem does not appear....
On the following Printscreen, the first Occurence of the yellow Highlighted AccptncDtTm is still processed well.
The next was displayed in two Steps:
Document/BkToCstmrDbtCdtNtfctn/Ntfctn/Ntry/NtryDtls/TxDtls/RltdDts/AccptncDtTm 201
Document/BkToCstmrDbtCdtNtfctn/Ntfctn/Ntry/NtryDtls/TxDtls/RltdDts/AccptncDtTm 7-08-31T20:00:00
It should be:
Document/BkToCstmrDbtCdtNtfctn/Ntfctn/Ntry/NtryDtls/TxDtls/RltdDts/AccptncDtTm 2017-08-31T20:00:00
[cid:image002.png@01D32705.613FD790]
If somebody would take care of this Problem, I could send the source XML File as well.
Kind Regards
Peter Gander
D: 044 762 26 15
F: 044 762 26 10
p.gander@schmidlinag.ch<mailto:p.gander@schmidlinag.ch>
Schmidlin AG
Zürichstrasse 19
8910 Affoltern am Albis
T: 044 762 26 26
F: 044 762 26 10
www.schmidlinag.ch<http://www.schmidlinag.ch/>
[cid:image004.jpg@01D32706.0FB9D3C0]
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.