Skip to content

LIBXML_NOWARNING flag ignored on loadXML #9963

@mayrs

Description

@mayrs

Description

The following code:

3v4l.org/EO4Cg

Resulted in this output:

Warning: DOMDocument::loadXML(): xml:id : attribute value 865245987 is not an NCName in Entity, line: 2 in /in/3LPpf on line 4

But I expected the warning to be suppressed instead.

Maybe this is the same issue as fixed in https://bugs.php.net/bug.php?id=74004.

PHP Version

7.4.0

Operating System

Linux Mint

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions