- name: 'check'
run: |
{
- git grep -z -i -l -E '^<\?xml' || true
- git grep -z -L -F 'notxml' 'tests/data/test*' || true
+ git grep -i -l -E '^<\?xml' -z || true
+ git ls-files 'tests/data/test*' -z || true
} | xargs -0 -r xmllint >/dev/null
miscchecks:
Tests using non-7-bit-ASCII characters must provide them with `%hex[]` or
similar.
-In most cases test files comply with the XML format, and pass xmllint cleanly.
-If the data file uses the `&` character, or has other, non-compliant content,
-and making it XML-compliant is not possible or unpractical, use the `notxml`
-keyword to exclude it from linter checks.
-
## `<reply>`
### `<data [nocheck="yes"] [sendzero="yes"] [hex="yes"] [nonewline="yes"] [crlf="yes|headers"]>`