Skip to content

ResourceName regex mapping wrong

In the OneM2M_Types module the ResourceName is mapped wrong:

XSD v1.12 <xs:simpleType name="resourceName"> <xs:restriction base="xs:string" > <xs:pattern value="[a-zA-Z0-9]([a-zA-Z0-9.-,_]*)" /> </xs:restriction> </xs:simpleType>
was mapped to
type XSD.String ResourceName (pattern "[a-zA-Z0-9]([a-zA-Z0-9.-,_]*)") with { variant "name as uncapitalized"; };

It should be type XSD.String ResourceName (pattern "[a-zA-Z0-9]([a-zA-Z0-9.-,_]#(0,))")