Skip to content

CI: MusicXML tests fail to load XML Schema file #182

Description

@igneus

So far I haven't experienced this issue when running the tests on my workstation.

Example pytest output from https://github.com/frescobaldi/python-ly/actions/runs/19602803582/job/56136729645?pr=181 :

[...]
________________________________ test_glissando ________________________________

    def test_glissando():
>       compare_output('glissando')

tests/test_xml.py:16: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_xml.py:109: in compare_output
    validate_xml(output)
tests/test_xml.py:118: in validate_xml
    xmlschema = etree.XMLSchema(xmlschema_doc)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   lxml.etree.XMLSchemaParseError: attribute use (unknown), attribute 'ref': The QName value '{http://www.w3.org/XML/1998/namespace}lang' does not resolve to a(n) attribute declaration., line 1810

src/lxml/xmlschema.pxi:90: XMLSchemaParseError
[...]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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