aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'data/xml-schema')
-rw-r--r--data/xml-schema/metadata.xsd4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/xml-schema/metadata.xsd b/data/xml-schema/metadata.xsd
index d2e3d4ff1..1a8605148 100644
--- a/data/xml-schema/metadata.xsd
+++ b/data/xml-schema/metadata.xsd
@@ -553,9 +553,9 @@
</xs:complexType>
<xs:simpleType name='urlType'>
- <xs:restriction base='xs:token'>
+ <xs:restriction base='xs:anyURI'>
<!-- TODO: something better? -->
- <xs:pattern value="(mailto:[^@]+@[^.\s]+\.\S+|https?://\S+)"/>
+ <xs:pattern value="(mailto:.+@.+|(ftp|https?)://\S+)"/>
</xs:restriction>
</xs:simpleType>