]> git.ipfire.org Git - thirdparty/vala.git/commit
libvaladoc/girimporter: Don't guess length of xml header, iterate forward to <repository>
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 20 Mar 2021 15:19:35 +0000 (16:19 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 4 Apr 2021 13:43:21 +0000 (15:43 +0200)
commit594e094e240df020ce2104c491a9f0cff0cd30ea
tree1ad62a19426f378f3a7185f5c17c2dae3b6312bc
parent9cbe46d3982967e45d32c2392f6f74dff0b6b221
libvaladoc/girimporter: Don't guess length of xml header, iterate forward to <repository>

If e.g. the xml header is missing, it resulted in errors like:

    error: expected start element of `repository'
    error: unsupported GIR version (null) (supported: 1.2)
libvaladoc/importer/girdocumentationimporter.vala