Hello,
I have arxmls using r24.11. The python library is not recognizing them and rejects the file when reading the header and throws "Failed to parse file.arxml:2: Invalid arxml file: bad file header". Here is a header example:
xmlns="http://autosar.org/schema/r24.11".
I checked the rust crate, and the library should handle up to r25.11. So expected behavior should be that namespace URI http://autosar.org/schema/r24.11 is accepted (same as how http://autosar.org/schema/r4.0 is), since AUTOSAR_00053 schema is already supported.
Temporary workaround:
- modify the header so that an older Autosar schema is declared and used. The library runs smoothly then.
It seems the namespace URI validation in the header parser wasn't updated when the R24-11 schema was added — only the element/attribute definitions were updated. The r24.11 / r25.11 URI patterns need to be added to the accepted namespace list alongside r4.0.
This is not an big issue so far since I dont see any schema changes between the versions delivered by Autosar, but this might become a blocking one in the future.
Hello,
I have arxmls using r24.11. The python library is not recognizing them and rejects the file when reading the header and throws "Failed to parse file.arxml:2: Invalid arxml file: bad file header". Here is a header example:
xmlns="http://autosar.org/schema/r24.11".
I checked the rust crate, and the library should handle up to r25.11. So expected behavior should be that namespace URI http://autosar.org/schema/r24.11 is accepted (same as how http://autosar.org/schema/r4.0 is), since AUTOSAR_00053 schema is already supported.
Temporary workaround:
It seems the namespace URI validation in the header parser wasn't updated when the R24-11 schema was added — only the element/attribute definitions were updated. The r24.11 / r25.11 URI patterns need to be added to the accepted namespace list alongside r4.0.
This is not an big issue so far since I dont see any schema changes between the versions delivered by Autosar, but this might become a blocking one in the future.