<?xml version="1.0" encoding="utf-16"?> <xs:simpleType name="MediaSizeNameExtensionPattern"> <xs:restriction base="xs:NMTOKEN"> <xs:maxLength value="255" /> <xs:pattern value="(custom_max|custom_min|custom|na|asme|roc|oe)_[\p{Ll}\d][\p{Ll}\d\-]*_\d+(\.\d+)?x\d+(\.\d+)?in" /> <xs:pattern value="(custom_max|custom_min|custom|na|asme|roc|oe)_[\p{Ll}\d][\p{Ll}\d\-]*_\d+(\.\d+)?x\d+(\.\d+)?mm" /> </xs:restriction> </xs:simpleType>