On 5/2/23 13:50, Per Jessen wrote:
Carlos E. R. wrote:
On 2023-05-02 13:07, Per Jessen wrote:
Carlos E. R. wrote:
On 2023-05-02 08:22, Per Jessen wrote:
Carlos E. R. wrote:
On 2023-05-01 15:30, Per Jessen wrote: The above has got nothing to do with xmllint, but it sounds like it checks against an xml schema and finds an unwanted/undefined attribute. Hmm, maybe not - there is no schema specified in that file.
It seems there is no XML schema for firewalld (there are some GitHub issues open about it), most one can do besides checking the overall XML validity using xmllint is using `firewall-cmd --check-config` (or `firewall-offline-cmd --check-config`, respectively).
# xmllint zones/external.xml
just prints the file and I can't know where is the line that produces that warning.
xmllint in the basic invocation only checks for the XML being well-formed, i.e. syntactically correct.