sdmx3mdt / public-consultation

0 stars 0 forks source link

Improve validation capacity by using a pattern for WildcardedMemberValue (CodelistExtension) #27

Closed dosse closed 3 years ago

dosse commented 3 years ago

I would suggest the pattern ^[A-Za-z0-9_@$-]+%?$ (which is the IDType pattern extended with %? for wildcarding). Also MemberValueType should be based on the IDType type rather than being a simple string in order to improve the validation capacity.

sdmx3mdt commented 3 years ago

Fixed in release candidate working branch https://github.com/sdmx3mdt/sdmx-ml/tree/develop