aboutsummaryrefslogtreecommitdiff
path: root/schemas
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2014-10-02 04:54:51 +0000
committerRob Austein <sra@hactrn.net>2014-10-02 04:54:51 +0000
commitedc75cd9d1cb569cbccedbd792ed818d3416bc66 (patch)
treea8da24c20f73cb5dc8c6085a75866996292f4dcd /schemas
parentb82932b6be2165ff06c5515bb59d5603759e200f (diff)
Whittle one small chunk off the left-right protocol SAX mess.
svn path=/branches/tk705/; revision=5981
Diffstat (limited to 'schemas')
-rw-r--r--schemas/relaxng/left-right.rnc2
-rw-r--r--schemas/relaxng/left-right.rng14
2 files changed, 7 insertions, 9 deletions
diff --git a/schemas/relaxng/left-right.rnc b/schemas/relaxng/left-right.rnc
index 201f8ff0..22d971f0 100644
--- a/schemas/relaxng/left-right.rnc
+++ b/schemas/relaxng/left-right.rnc
@@ -271,7 +271,7 @@ list_ee_certificate_requests_reply = element list_ee_certificate_requests {
attribute asn { asn_list }?,
attribute ipv4 { ipv4_list }?,
attribute ipv6 { ipv6_list }?,
- attribute cn { xsd:string { maxLength="64" pattern="[\-0-9A-Za-z_ ]+" } }?,
+ attribute cn { xsd:string { maxLength="64" pattern="[\-0-9A-Za-z_ ]+" } },
attribute sn { xsd:string { maxLength="64" pattern="[0-9A-Fa-f]+" } }?,
attribute eku { xsd:string { maxLength="512000" pattern="[.,0-9]+" } }?,
element pkcs10 { base64 }
diff --git a/schemas/relaxng/left-right.rng b/schemas/relaxng/left-right.rng
index 15dd2fa1..b521e0d7 100644
--- a/schemas/relaxng/left-right.rng
+++ b/schemas/relaxng/left-right.rng
@@ -961,14 +961,12 @@
<ref name="ipv6_list"/>
</attribute>
</optional>
- <optional>
- <attribute name="cn">
- <data type="string">
- <param name="maxLength">64</param>
- <param name="pattern">[\-0-9A-Za-z_ ]+</param>
- </data>
- </attribute>
- </optional>
+ <attribute name="cn">
+ <data type="string">
+ <param name="maxLength">64</param>
+ <param name="pattern">[\-0-9A-Za-z_ ]+</param>
+ </data>
+ </attribute>
<optional>
<attribute name="sn">
<data type="string">