Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report in XML::Parser [rt.cpan.org #122970] #56

Open
toddr opened this issue Sep 24, 2019 · 0 comments
Open

Bug Report in XML::Parser [rt.cpan.org #122970] #56

toddr opened this issue Sep 24, 2019 · 0 comments

Comments

@toddr
Copy link
Member

toddr commented Sep 24, 2019

Migrated from rt.cpan.org#122970 (status was 'new')

Requestors:

Attachments:

From [email protected] on 2017-09-06 10:04:27
:

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:[email protected]]



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
[email protected]<mailto:[email protected]>

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:[email protected]]



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant