Skip to content

t/deep_nesting.t not testing intended? #215

@scop

Description

@scop

t/deep_nesting.t documents:

# Test for deeply nested elements to exercise st_serial_stack reallocation.
# This catches off-by-one errors in the stack growth check (GH #39).

However, it does not seem to do what it says on the tin. I cannot provoke a failure with any XML::Parser version using this file. Tested e.g. from git tags 2.46 and 2.47 which should have the issue fixed in #39 (Ubuntu 25.10 amd64, perl 5.40.1), no failure. Not even bumping $depth to 6_000_000 provokes one for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions