aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/up-down-medium-schema.rnc2
-rw-r--r--scripts/up-down-medium-schema.rng3
2 files changed, 3 insertions, 2 deletions
diff --git a/scripts/up-down-medium-schema.rnc b/scripts/up-down-medium-schema.rnc
index 9c1766e6..623d83b5 100644
--- a/scripts/up-down-medium-schema.rnc
+++ b/scripts/up-down-medium-schema.rnc
@@ -35,7 +35,7 @@
attribute resource_set_as { xsd:string { maxLength="512000" pattern="[\-,0-9]*" } },
attribute resource_set_ipv4 { xsd:string { maxLength="512000" pattern="[\-,/.0-9]*" } },
attribute resource_set_ipv6 { xsd:string { maxLength="512000" pattern="[\-,/:0-9a-fA-F]*" } },
- attribute suggested_sia_head { xsd:anyURI { maxLength="1024" } }?,
+ attribute suggested_sia_head { xsd:anyURI { maxLength="1024" pattern="rsync://.+"} }?,
element certificate {
attribute cert_url { xsd:anyURI { maxLength="1024" } },
attribute req_resource_set_as { xsd:string { maxLength="512000" pattern="[\-,0-9]*" } }?,
diff --git a/scripts/up-down-medium-schema.rng b/scripts/up-down-medium-schema.rng
index 7decd23f..d9c84489 100644
--- a/scripts/up-down-medium-schema.rng
+++ b/scripts/up-down-medium-schema.rng
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- $Id: up-down-medium-schema.rnc 698 2007-06-29 20:01:08Z sra $
+ $Id: up-down-medium-schema.rnc 704 2007-07-02 16:11:58Z sra $
RelaxNG (Compact Syntax) Schema
for RPKI up-down protocol. This is based on the schema in the APNIC
@@ -115,6 +115,7 @@
<attribute name="suggested_sia_head">
<data type="anyURI">
<param name="maxLength">1024</param>
+ <param name="pattern">rsync://.+</param>
</data>
</attribute>
</optional>