Skip to content

ARXML checker/validator? #110

Answered by cogu
nithinvelupur asked this question in Q&A
Discussion options

You must be logged in to vote

Personally, I validate XML using the Linux tool xmllint which is part of libxml2-utils. In Windows I run it either inside WSL2 or cygwin. Both ways works fine.

Here's the bash-command I use for validating all arxml files in current directory. Adapt the file name of the XSD to match the one you have.

find . -name "*.arxml" | xargs xmllint --noout --schema AUTOSAR_00051.xsd

You can download the AUTOSAR xml schemas freely from autosar.org

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cogu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants