removed cert:int usage in examples, and replaced it with xsd:int. Also changed the presentation
authorHenry Story <henry.story@bblfish.net>
Mon, 14 Nov 2011 15:48:52 +0100
changeset 186 d629f4b9630d
parent 185 dadcc49adb1d
child 187 98f652d92840
child 189 799504dd986b
removed cert:int usage in examples, and replaced it with xsd:int. Also changed the presentation
of each cert:hex number to show that the non hex characters are not important.
spec/index-respec.html
--- a/spec/index-respec.html	Mon Nov 14 13:32:03 2011 +0100
+++ b/spec/index-respec.html	Mon Nov 14 15:48:52 2011 +0100
@@ -614,7 +614,7 @@
        3b:ef:e7:35:44:d8:e1:be:3d:dd:b5:24:55:c6:13:
        91:a1
      """^^cert:hex;
-     rsa:public_exponent "65537"^^cert:int ;
+     rsa:public_exponent 65537 ;
      ] .
 </pre>
 </p>
@@ -627,6 +627,7 @@
 <pre>
 &lt;html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:cert="http://www.w3.org/ns/auth/cert#"
+      xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
       xmlns:foaf="http://xmlns.com/foaf/0.1/"
       xmlns:owl="http://www.w3.org/2002/07/owl#"
       xmlns:rsa="http://www.w3.org/ns/auth/rsa#"
@@ -644,27 +645,27 @@
       &lt;dl&gt;
       &lt;dt&gt;Modulus (hexadecimal)&lt;/dt&gt;
       &lt;dd property="rsa:modulus" datatype="cert:hex"&gt;
-        00:cb:24:ed:85:d6:4d:79:4b:69:c7:01:c1:86:ac:
-        c0:59:50:1e:85:60:00:f6:61:c9:32:04:d8:38:0e:
-        07:19:1c:5c:8b:36:8d:2a:c3:2a:42:8a:cb:97:03:
-        98:66:43:68:dc:2a:86:73:20:22:0f:75:5e:99:ca:
-        2e:ec:da:e6:2e:8d:15:fb:58:e1:b7:6a:e5:9c:b7:
-        ac:e8:83:83:94:d5:9e:72:50:b4:49:17:6e:51:a4:
-        94:95:1a:1c:36:6c:62:17:d8:76:8d:68:2d:de:78:
-        dd:4d:55:e6:13:f8:83:9c:f2:75:d4:c8:40:37:43:
-        e7:86:26:01:f3:c4:9a:63:66:e1:2b:b8:f4:98:26:
-        2c:3c:77:de:19:bc:e4:0b:32:f8:9a:e6:2c:37:80:
-        f5:b6:27:5b:e3:37:e2:b3:15:3a:e2:ba:72:a9:97:
-        5a:e7:1a:b7:24:64:94:97:06:6b:66:0f:cf:77:4b:
-        75:43:d9:80:95:2d:2e:85:86:20:0e:da:41:58:b0:
-        14:e7:54:65:d9:1e:cf:93:ef:c7:ac:17:0c:11:fc:
-        72:46:fc:6d:ed:79:c3:77:80:00:0a:c4:e0:79:f6:
-        71:fd:4f:20:7a:d7:70:80:9e:0e:2d:7b:0e:f5:49:
-        3b:ef:e7:35:44:d8:e1:be:3d:dd:b5:24:55:c6:13:
-        91:a1
+        00 cb 24 ed 85 d6 4d 79 4b 69 c7 01 c1 86 ac 
+        c0 59 50 1e 85 60 00 f6 61 c9 32 04 d8 38 0e 
+        07 19 1c 5c 8b 36 8d 2a c3 2a 42 8a cb 97 03 
+        98 66 43 68 dc 2a 86 73 20 22 0f 75 5e 99 ca 
+        2e ec da e6 2e 8d 15 fb 58 e1 b7 6a e5 9c b7 
+        ac e8 83 83 94 d5 9e 72 50 b4 49 17 6e 51 a4 
+        94 95 1a 1c 36 6c 62 17 d8 76 8d 68 2d de 78 
+        dd 4d 55 e6 13 f8 83 9c f2 75 d4 c8 40 37 43 
+        e7 86 26 01 f3 c4 9a 63 66 e1 2b b8 f4 98 26 
+        2c 3c 77 de 19 bc e4 0b 32 f8 9a e6 2c 37 80 
+        f5 b6 27 5b e3 37 e2 b3 15 3a e2 ba 72 a9 97 
+        5a e7 1a b7 24 64 94 97 06 6b 66 0f cf 77 4b 
+        75 43 d9 80 95 2d 2e 85 86 20 0e da 41 58 b0 
+        14 e7 54 65 d9 1e cf 93 ef c7 ac 17 0c 11 fc 
+        72 46 fc 6d ed 79 c3 77 80 00 0a c4 e0 79 f6 
+        71 fd 4f 20 7a d7 70 80 9e 0e 2d 7b 0e f5 49 
+        3b ef e7 35 44 d8 e1 be 3d dd b5 24 55 c6 13 
+        91 a1
       &lt;/dd&gt;
       &lt;dt&gt;Exponent (decimal)&lt;/dt&gt;
-      &lt;dd property="rsa:public_exponent" datatype="cert:int"&gt;65537&lt;/dd&gt;
+      &lt;dd property="rsa:public_exponent" datatype="xsd:int"&gt;65537&lt;/dd&gt;
       &lt;/dl&gt;
     &lt;/div&gt;
   &lt;/div&gt;
@@ -701,32 +702,33 @@
  xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;
  xmlns:cert=&quot;http://www.w3.org/ns/auth/cert#&quot;
  xmlns:rsa=&quot;http://www.w3.org/ns/auth/rsa#&quot;
+ xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema#&quot;
  xmlns:foaf=&quot;http://xmlns.com/foaf/0.1/&quot;&gt;
   &lt;foaf:Person rdf:about=&quot;https://joe.example/profile#me&quot;&gt;
     &lt;foaf:name&gt;Joe&lt;/foaf:name&gt;
     &lt;cert:key&gt;
       &lt;rsa:RSAPublicKey&gt;
         &lt;rsa:modulus rdf:datatype=&quot;http://www.w3.org/ns/auth/cert#hex&quot;&gt;
-          00:cb:24:ed:85:d6:4d:79:4b:69:c7:01:c1:86:ac:
-          c0:59:50:1e:85:60:00:f6:61:c9:32:04:d8:38:0e:
-          07:19:1c:5c:8b:36:8d:2a:c3:2a:42:8a:cb:97:03:
-          98:66:43:68:dc:2a:86:73:20:22:0f:75:5e:99:ca:
-          2e:ec:da:e6:2e:8d:15:fb:58:e1:b7:6a:e5:9c:b7:
-          ac:e8:83:83:94:d5:9e:72:50:b4:49:17:6e:51:a4:
-          94:95:1a:1c:36:6c:62:17:d8:76:8d:68:2d:de:78:
-          dd:4d:55:e6:13:f8:83:9c:f2:75:d4:c8:40:37:43:
-          e7:86:26:01:f3:c4:9a:63:66:e1:2b:b8:f4:98:26:
-          2c:3c:77:de:19:bc:e4:0b:32:f8:9a:e6:2c:37:80:
-          f5:b6:27:5b:e3:37:e2:b3:15:3a:e2:ba:72:a9:97:
-          5a:e7:1a:b7:24:64:94:97:06:6b:66:0f:cf:77:4b:
-          75:43:d9:80:95:2d:2e:85:86:20:0e:da:41:58:b0:
-          14:e7:54:65:d9:1e:cf:93:ef:c7:ac:17:0c:11:fc:
-          72:46:fc:6d:ed:79:c3:77:80:00:0a:c4:e0:79:f6:
-          71:fd:4f:20:7a:d7:70:80:9e:0e:2d:7b:0e:f5:49:
-          3b:ef:e7:35:44:d8:e1:be:3d:dd:b5:24:55:c6:13:
-          91:a1
-        &lt;/rsa:modulus&gt;
-        &lt;rsa:public_exponent rdf:datatype=&quot;http://www.w3.org/ns/auth/cert#int&quot;&gt;65537&lt;/rsa:public_exponent&gt;
+          00-cb-24-ed-85-d6-4d-79-4b-69-c7-01-c1-86-ac
+          c0-59-50-1e-85-60-00-f6-61-c9-32-04-d8-38-0e
+          07-19-1c-5c-8b-36-8d-2a-c3-2a-42-8a-cb-97-03
+          98-66-43-68-dc-2a-86-73-20-22-0f-75-5e-99-ca
+          2e-ec-da-e6-2e-8d-15-fb-58-e1-b7-6a-e5-9c-b7
+          ac-e8-83-83-94-d5-9e-72-50-b4-49-17-6e-51-a4
+          94-95-1a-1c-36-6c-62-17-d8-76-8d-68-2d-de-78
+          dd-4d-55-e6-13-f8-83-9c-f2-75-d4-c8-40-37-43
+          e7-86-26-01-f3-c4-9a-63-66-e1-2b-b8-f4-98-26
+          2c-3c-77-de-19-bc-e4-0b-32-f8-9a-e6-2c-37-80
+          f5-b6-27-5b-e3-37-e2-b3-15-3a-e2-ba-72-a9-97
+          5a-e7-1a-b7-24-64-94-97-06-6b-66-0f-cf-77-4b
+          75-43-d9-80-95-2d-2e-85-86-20-0e-da-41-58-b0
+          14-e7-54-65-d9-1e-cf-93-ef-c7-ac-17-0c-11-fc
+          72-46-fc-6d-ed-79-c3-77-80-00-0a-c4-e0-79-f6
+          71-fd-4f-20-7a-d7-70-80-9e-0e-2d-7b-0e-f5-49
+          3b-ef-e7-35-44-d8-e1-be-3d-dd-b5-24-55-c6-13
+          91-a1
+        &lt;/rsa-modulus&gt;
+        &lt;rsa:public_exponent rdf:datatype=&quot;xsd:int&quot;&gt;65537&lt;/rsa:public_exponent&gt;
       &lt;/rsa:RSAPublicKey&gt;
     &lt;/cert:key&gt;
   &lt;/foaf:Person&gt;