tool/run: use xmlcatalog for xsd file paths

With libxml2 >= 2.13, the `-path` argument can no longer be used for
setting search paths for xsd files. Instead, we use an XML catalog to
replace genode:// URIs with absolute paths.

Fixes #5248
This commit is contained in:
Johannes Schlatow
2024-06-14 20:38:09 +02:00
committed by Norman Feske
parent 5181d08d05
commit 16b863fc6e
16 changed files with 44 additions and 37 deletions

View File

@ -1,9 +1,9 @@
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="base_types.xsd"/>
<xs:include schemaLocation="net_types.xsd"/>
<xs:include schemaLocation="virtio_types.xsd"/>
<xs:include schemaLocation="genode://base_types.xsd"/>
<xs:include schemaLocation="genode://net_types.xsd"/>
<xs:include schemaLocation="genode://virtio_types.xsd"/>
<xs:simpleType name="RxBufferSize">
<xs:restriction base="xs:unsignedShort">