admin-shell-io / aas-specs-api

Repository of the Asset Administration Shell Specification DTA-01002 API
https://industrialdigitaltwin.org/
Creative Commons Attribution 4.0 International
9 stars 4 forks source link

Adjust Regex Changes also to the Part2 Classes #256

Closed sebbader-sap closed 3 months ago

sebbader-sap commented 3 months ago

As discussed in https://github.com/admin-shell-io/aas-specs/issues/362, the 'old' regex pattern ("^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$") shall not be used in the schema files but replaced with one that is better suited to UTF-16-compliant validators (^([\\t\\n\\r -\ud7ff\ue000-\ufffd]|\\ud800[\\udc00-\\udfff]|[\\ud801-\\udbfe][\\udc00-\\udfff]|\\udbff[\\udc00-\\udfff])*$).

sebbader-sap commented 3 months ago

@g1zzm0 I am not sure if I can follow you... The Part 1 Domain has this regex pattern already since quite some time, e.g. https://github.com/admin-shell-io/aas-specs-api/blob/ed902c9f9da93c3417b291d3cb425334ddae5b76/Part1-MetaModel-Schemas/openapi.yaml#L60

Therefore, I don't think that Part 1 has to implement anything before...