Update of /cvsroot/neuclear/neuclear-id/src/schemas
In directory sc8-pr-cvs1:/tmp/cvs-serv10697/src/schemas
Modified Files:
neuid.xsd nsauth.xsd
Added Files:
sigreq.xsd
Removed Files:
nsasset.xsd nscondition.xsd nssign.xsd nswsdl.xsd
Log Message:
I have updated all the current schemas, cleaned out the defunct ones and "completed"
the xfer and exch schemas.
--- NEW FILE: sigreq.xsd ---
<?xml version="1.0" encoding="utf-8"?>
<!--
Signature Requests for Interactive Signing Services
=========================================
Service A sends an XML Snippet to the Signing service B via the users browser.
Signing service B asks user if he wants to sign it.
If user agree's signing service B signs the enclosed element.
Signing Service B sends element to it's target elements
-->
<xs:schema targetNamespace="http://neuclear.org/neu/nssign"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:neuid="http://neuclear.org/neu/neuid.xsd"
xmlns:sigreq="http://neuclear.org/neu/sigreq.xsd"
xmlns="http://neuclear.org/neu/sigreq.xsd"
elementFormDefault="qualified" version="0.3" id="sigreq">
<xs:import namespace="http://neuclear.org/neu/neuid.xsd" schemaLocation="neuid.xsd"/>
<xs:element name="SignatureRequest" nillable="false">
<xs:complexType>
<xs:complexContent>
<xs:extension base="neuid:NamedObjectType">
<xs:sequence>
<!-- Include one element to sign -->
<xs:any maxOccurs="1" minOccurs="1"/>
<!-- Optional verbal Description -->
<xs:element name="description" type="xs:string" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="href" type="xs:string"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:schema>
Index: neuid.xsd
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/schemas/neuid.xsd,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** neuid.xsd 6 Jan 2004 23:27:20 -0000 1.1
--- neuid.xsd 7 Jan 2004 16:16:02 -0000 1.2
***************
*** 3,6 ****
--- 3,10 ----
<!--$Id$
$Log$
+ Revision 1.2 2004/01/07 16:16:02 pelle
+ I have updated all the current schemas, cleaned out the defunct ones and "completed"
+ the xfer and exch schemas.
+
Revision 1.1 2004/01/06 23:27:20 pelle
Started restructuring the original xml schemas.
***************
*** 11,15 ****
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
! xmlns="http://neuclear.org/neu/neuid.xsd" elementFormDefault="qualified" version="0.6" id="neuid">
<xs:complexType name="NamedObjectType">
<xs:sequence>
--- 15,38 ----
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
! xmlns="http://neuclear.org/neu/neuid.xsd" elementFormDefault="qualified" version="0.9" id="neuid">
! <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
!
!
! <xs:simpleType name="sha1">
! <xs:restriction base="xs:string">
! <xs:pattern value='^(sha1:)?.{20}$'/>
! <xs:whiteSpace value="collapse"/>
! </xs:restriction>
! </xs:simpleType>
! <xs:simpleType name="neuri">
! <xs:restriction base="xs:string">
! <xs:pattern value="^neu:([\w]{1,6}:)?//(([\w][\w.-]*)@)?[\w]([\w.-]*[\w])?(/[\w][\w-]*)*(![\w][\w.-]*)?$"/>
! <xs:whiteSpace value="collapse"/>
! </xs:restriction>
! </xs:simpleType>
! <xs:simpleType name="NamedObjectReference">
! <xs:union memberTypes="neuri sha1"/>
! </xs:simpleType>
!
<xs:complexType name="NamedObjectType">
<xs:sequence>
***************
*** 19,24 ****
<xs:element ref="ds:Signature" maxOccurs="1" minOccurs="1"/>
</xs:sequence>
! <xs:attribute name="name" type="xs:string"/>
! <xs:attribute name="timestamp" type="xs:time" />
</xs:complexType>
--- 42,47 ----
<xs:element ref="ds:Signature" maxOccurs="1" minOccurs="1"/>
</xs:sequence>
! <xs:attribute name="name" type="neuri"/>
! <xs:attribute name="timestamp" type="xs:dateTime" />
</xs:complexType>
Index: nsauth.xsd
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/schemas/nsauth.xsd,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** nsauth.xsd 11 Nov 2003 21:18:45 -0000 1.2
--- nsauth.xsd 7 Jan 2004 16:16:02 -0000 1.3
***************
*** 12,31 ****
<xs:schema targetNamespace="http://neuclear.org/neu/nsauth"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
! xmlns:nsdl="http://neuclear.org/neu/nsdl"
! xmlns:nsauth="http://neuclear.org/neu/nsauth"
! xmlns="http://neuclear.org/neu/nsauth"
! elementFormDefault="qualified" version="0.2" id="nsauth">
! <xs:import namespace="http://www.w3.org/2001/XMLSchema" schemaLocation="XMLSchema.xsd"/>
! <xs:import namespace="http://neuclear.org/neu/nsdl" schemaLocation="nsdl.xsd"/>
!
! <xs:complexType name="AuthenticationTicketType">
! <xs:complexContent>
! <xs:extension base="nsdl:NamedObjectType">
! <xs:attribute name="validTo" type="xs:dateTime" use="optional"/>
! <xs:attribute name="href" type="xs:anyURI" use="optional"/>
! </xs:extension>
! </xs:complexContent>
! </xs:complexType>
! <xs:element name="AuthenticationTicket" type="AuthenticationTicketType" nillable="true"/>
</xs:schema>
--- 12,30 ----
<xs:schema targetNamespace="http://neuclear.org/neu/nsauth"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
! xmlns:neuid="http://neuclear.org/neu/neuid.xsd"
! xmlns:nsauth="http://neuclear.org/neu/nsauth.xsd"
! xmlns="http://neuclear.org/neu/nsauth.xsd"
! elementFormDefault="qualified" version="0.3" id="nsauth">
! <xs:import namespace="http://neuclear.org/neu/neuid.xsd" schemaLocation="neuid.xsd"/>
! <xs:element name="AuthenticationTicket" nillable="true">
! <xs:complexType>
! <xs:complexContent>
! <xs:extension base="neuid:NamedObjectType">
! <xs:attribute name="validTo" type="xs:dateTime" use="optional"/>
! <xs:attribute name="href" type="xs:anyURI" use="optional"/>
! </xs:extension>
! </xs:complexContent>
! </xs:complexType>
! </xs:element>
</xs:schema>
--- nsasset.xsd DELETED ---
--- nscondition.xsd DELETED ---
--- nssign.xsd DELETED ---
--- nswsdl.xsd DELETED ---
|