Skip to main content

Schema fragment display

Back to C13061

< xs:simpleType name="URLType">
<xs:annotation>
<xs:documentation> A valid URL must be composed of non accented characters in the ranges A-Z or a-z, 0-9, or the following special characters: '\', '/', '-', '=', '&', '?', '#', '.', or '%', If '&' is used, it must be entered as '&amp;' as XML will otherwise treat it as a reserved character. The URL must start with either 'http' or 'https'. No other protocol is allowed (e.g. ftp). </xs:documentation>
</xs:annotation>
<xs:restrictionbase="xs:string">
<xs:maxLengthvalue="255"/>
<xs:patternvalue="(http:|https:)(//)*([A-Za-z0-9&\-]+\.)*[A-Za-z0-9&=?%#\-]+\.[A-Za-z&=?%#]{2,}(:[A-Za-z0-9&=?%#\.\-/]+)?(/[\S-["><]]*)?"/>
</xs:restriction>
</xs:simpleType>

Contact Liaison by email or on +44 (0)1242 388 531.