Open-CMSIS-Pack / Open-CMSIS-Pack-Spec

Common Microcontroller Software Interface Standard - Pack(age) based distribution system
https://open-cmsis-pack.github.io/Open-CMSIS-Pack-Spec/
Apache License 2.0
50 stars 20 forks source link

component name restrictions not covered (xs:string) #218

Closed ReinhardKeil closed 1 year ago

ReinhardKeil commented 1 year ago

The name conventions for components (and maybe other things like packs) allow currently to specify an xs:string.

However the characters ':', '&', '@' cannot be part of component names (Cclass, Csub, Cname, Cvariant, etc.) as this conflicts with the naming conventions of the csolution yml file.

Unfortunately this is already a problem with the Arm-2D pack from Arm. We need therefore also a packchk extension that covers a test for that.

jkrech commented 1 year ago

This check has been recently added to PACK.xsd schema. see: PR: Restrict CIDs #204 We need to role it out now to the Pack Importer as well.