ARXML checker/validator? #110
Answered
by
cogu
nithinvelupur
asked this question in
Q&A
|
Is there a module which can check the ARXML. Like a checker/validator? I would like to create AUTOSAR DEXT ARXMLs and would like to ensure the files are according to the DEXT specifications. |
Answered by
cogu
May 5, 2024
Replies: 1 comment
|
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.xsdYou can download the AUTOSAR xml schemas freely from autosar.org |
0 replies
Answer selected by
cogu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
You can download the AUTOSAR xml schemas freely from autosar.org