Skip to main content

Schema fragment display

Back to C18061

< 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:)(//){1}([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 01242 211144.