Skip to content

Xsd validation fails when encoding is different from the xsd file #124

@rajzik

Description

@rajzik

When I try to validate xml file with XSD document and the encoding is set in the XML document I get encoding errors in the result.

I am loading XmlDocuments from string so encoding should be ignored.

When I replace encoding with utf-8 everything works

Reproduction

https://github.com/rajzik/libxml-repro

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions