CVS update: openprivacy/src/xml

From: cvs@openprivacy.org
Date: Thu Nov 23 2000 - 06:50:12 PST


Date: Thursday November 23, 19100 @ 6:50
Author: burton
CVSWEB Options: -------------------

Main CVSWeb: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi

View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/src/xml

-----------------------------------

Update of /usr/local/cvsroot/openprivacy/src/xml
In directory openprivacy.org:/tmp/cvs-serv3172/src/xml

Modified Files:
        example1.xml prob-core-schema.xsd prob-instance-body.xml
Log Message:
cleaned up more per the core spec... need to go over the DSig spec more...

*****************************************************************
File: openprivacy/src/xml/example1.xml

CVSWEB Options: -------------------

CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/src/xml/example1.xml?annotate=1.3

CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/src/xml/example1.xml?rev=1.3&content-type=text/x-cvsweb-markup

CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/src/xml/example1.xml.diff?r1=1.3&r2=1.2

-----------------------------------

Index: openprivacy/src/xml/example1.xml
diff -u openprivacy/src/xml/example1.xml:1.2 openprivacy/src/xml/example1.xml:1.3
--- openprivacy/src/xml/example1.xml:1.2 Thu Nov 23 05:29:33 2000
+++ openprivacy/src/xml/example1.xml Thu Nov 23 06:50:12 2000
@@ -1,13 +1,12 @@
 
 
 
-
-
 <!-- template -->
 
 <prob:profile-reference-object
     xmlns:prob="http://www.openprivacy.org/2000/prob/0.0.1"
- xmlns:xmldsig="http://www.w3.org/2000/09/xmldsig#">
+ xmlns:xmldsig="http://www.w3.org/2000/09/xmldsig#"
+ url="http://www.openprivacy.org/template.xml">
 
   <xmldsig>
 
@@ -25,22 +24,27 @@
 
 
 
+
 <!-- rev 1 of what Kevin drives -->
+<prob
+ xmlns:prob="http://www.openprivacy.org/2000/prob/0.0.1"
+ xmlns:xmldsig="http://www.w3.org/2000/09/xmldsig#"
+ url="http://www.openprivacy.org/REV1">
 
-<prob url="http://rev1">
   <xmldsig>
- <principal-URI>Kevin</principal-URI>
- <prob-data-inline>drives an RX7</prob-data-inline>
+ <prob:principal-reference>Kevin</prob:principal-reference>
+ <prob:data-inline>drives an RX7</prob:data-inline>
     <signature>
- <signer-URI>Kevin</signer-URI>
+ <prob:signer-reference>Kevin</prob:signer-reference>
       <date>1999.02.11</date>
       <hash>349087534530984</hash>
     </signature>
   </xmldsig>
+
   <prob>
     <xmldsig>
- <principal-URI>Kevin</principle-URI>
- <prob-data-inline>takes good care of his car</prob-data-inline>
+ <prob:principal-reference>Kevin</prob:principal-reference>
+ <prob:data-inline>takes good care of his car</prob:data-inline>
       <prob-reference-URI>self</prob-reference-URI>
       <prob-reference-hash>349087534530984</prob-reference-hash>
       <signature>
@@ -53,12 +57,15 @@
 </prob>
 
 <!-- rev 2 of what Kevin drives -->
-<prob url="http://rev2">
+<prob:profile-reference-object url="http://www.openprivacy.org/REV2">
   <xmldsig>
- <principal-URI>Kevin</principal-URI>
- <prob-data-inline>sold his car and bought a mountain bike</prob-data-inline>
- <prob-reference-URI>http://rev1>
- <prob-reference-hash>349087534530984</prob-reference-hash>
+ <prob:principal-reference>Kevin</prob:principal-reference>
+ <prob:data-inline>sold his car and bought a mountain bike</prob:data-inline>
+ <prob:reference>
http://rev1>
+
+ <!-- FIX ME: -->
+
+ <prob-reference-hash>349087534530984</prob-reference-hash>
     <signature>
       <signer-URI>Kevin</signer-URI>
       <date>2000.05.22</date>

*****************************************************************
File: openprivacy/src/xml/prob-core-schema.xsd

CVSWEB Options: -------------------

CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/src/xml/prob-core-schema.xsd?annotate=1.3

CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/src/xml/prob-core-schema.xsd?rev=1.3&content-type=text/x-cvsweb-markup

CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/src/xml/prob-core-schema.xsd.diff?r1=1.3&r2=1.2

-----------------------------------

Index: openprivacy/src/xml/prob-core-schema.xsd
diff -u openprivacy/src/xml/prob-core-schema.xsd:1.2 openprivacy/src/xml/prob-core-schema.xsd:1.3
--- openprivacy/src/xml/prob-core-schema.xsd:1.2 Thu Nov 23 05:29:15 2000
+++ openprivacy/src/xml/prob-core-schema.xsd Thu Nov 23 06:50:12 2000
@@ -12,31 +12,36 @@
         version="0.1">
 
     <element name="profile-reference-object">
+
         <type>
 
- <!-- on a profile-reference-object make sure specify a URI which can be
- used to fetch this document again. This is just for debuging purposes
- but it is recommended. -->
- <attribute name="url" type="uriReference" minOccurs="0" maxOccurs="1"/>
+ <!-- on a profile-reference-object make sure specify a URI which can be
+ used to fetch this document again. This is just for debuging purposes
+ but it is recommended. -->
+ <attribute name="url" type="uriReference" minOccurs="0" maxOccurs="1"/>
 
- <!-- specify a principal for this prob... SPKI??? -->
- <element name="principal-reference" type="uriReference"/>
+ <!-- specify a principal for this prob... SPKI??? -->
+ <element name="principal-reference" type="uriReference"/>
 
- <!-- inline profile data -->
- <element name="data-inline" type="CDATA"/>
+ <!-- point to the signer of this prob... should a URI exactly like
+ principal-reference -->
+ <element name="signer-reference" type="uriReference"/>
 
- <!-- a URI to more data -->
- <element name="data-reference" type="uriReference"/>
-
- <!-- point to another prob -->
- <element name="prob-reference" type="uriReference"/>
+ <!-- NOTE: Data in this sense is XML in another namespace -->
 
- <!-- point to the signer of this prob... should a URI exactly like
- principal-reference -->
- <element name="signer-reference" type="uriReference"/>
+ <!-- inline profile data -->
+ <element name="data-inline" type="CDATA"/>
 
+ <!-- a URI to more data -->
+ <element name="data-reference" type="uriReference"/>
+
+ <!-- point to another prob -->
+ <element name="reference" type="uriReference"/>
 
+ <element ref="profile-reference-object" minOccurs="0" maxOccurs="unbounded"/>
+
         </type>
+
     </element>
 
 

*****************************************************************
File: openprivacy/src/xml/prob-instance-body.xml

CVSWEB Options: -------------------

CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/src/xml/prob-instance-body.xml?annotate=1.2

CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/src/xml/prob-instance-body.xml?rev=1.2&content-type=text/x-cvsweb-markup

CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/src/xml/prob-instance-body.xml.diff?r1=1.2&r2=1.1

-----------------------------------

Index: openprivacy/src/xml/prob-instance-body.xml
diff -u openprivacy/src/xml/prob-instance-body.xml:1.1 openprivacy/src/xml/prob-instance-body.xml:1.2
--- openprivacy/src/xml/prob-instance-body.xml:1.1 Mon Nov 13 17:43:08 2000
+++ openprivacy/src/xml/prob-instance-body.xml Thu Nov 23 06:50:12 2000
@@ -1,13 +1,3 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-
-<!DOCTYPE prob>
-
-
-<!--
-Example instance document of an Profile Reference Object.
-
-A PROB is a chain of multiple XML documents. First document provides DSig
-references to a prob which
 
 TODO:
 



This archive was generated by hypermail 2b30 : Mon Jan 22 2001 - 15:52:14 PST