add libsel4/tools/sel4_idl.xsd to replace dtd

No intended changes to the schema, just change
the schema from dtd to xsd, and update ci to use it.

Signed-off-by: matt rice <ratmice@gmail.com>
This commit is contained in:
matt rice
2022-02-27 03:02:34 -08:00
committed by Gerwin Klein
parent d14d6c2139
commit b0d70f1ebc
5 changed files with 143 additions and 67 deletions

View File

@@ -12,11 +12,11 @@ on:
- master
paths:
- 'libsel4/**/sel4*.xml'
- 'libsel4/**/sel4*.dtd'
- 'libsel4/**/sel4*.xsd'
pull_request:
paths:
- 'libsel4/**/sel4*.xml'
- 'libsel4/**/sel4*.dtd'
- 'libsel4/**/sel4*.xsd'
jobs:
xmllint:
@@ -29,4 +29,4 @@ jobs:
- name: run xmllint
run: |
find libsel4 -name "sel4*.xml" | \
xargs xmllint --dtdvalid libsel4/tools/sel4_idl.dtd --noout
xargs xmllint --schema libsel4/tools/sel4_idl.xsd --noout