Re: XML Signature schema implementation

On Thursday 20 September 2001 03:21, Peter Tornberg wrote:
> namespace. I.e. while creating new schemas I'm unable to do a
> ref="ds:..." to a number of elements in the xmldsig schema. Instead I
> have to create and name my own elements using name="..." type="ds:...".

Could you be more specific? We did rewrite our schema to make both the 
major element and their types named and global items. [1] includes all of 
the global elements. A few of the key structures' children (like those of 
PGP or X509) are not provided globally because (1) we didn't have demand to 
make *everything* global (it'd be ugly) and those children typically share 
a contextual semantic (they are properties of the same thing). 
Consequently, it wouldn't make sense or mean the same thing, if somehow 
someone use them piece-meal or in a different context: they should use a 
different namespace. Of course, the could build that on top of our own by 
deriving it from our type.


[1] http://www.w3.org/Signature/Drafts/xmldsig-core/xmldsig-core-schema.xsd
Global elements and types in XMLDSIG
<element name="Signature" type="ds:SignatureType"/>
<element name="SignatureValue" type="ds:SignatureValueType"/> 
<element name="SignedInfo" type="ds:SignedInfoType"/>
<element name="CanonicalizationMethod" 
type="ds:CanonicalizationMethodType"/> 
<element name="SignatureMethod" type="ds:SignatureMethodType"/>
<element name="Reference" type="ds:ReferenceType"/>
<element name="Transforms" type="ds:TransformsType"/>
<element name="Transform" type="ds:TransformType"/>
<element name="DigestMethod" type="ds:DigestMethodType"/>
<element name="DigestValue" type="ds:DigestValueType"/>
<element name="KeyInfo" type="ds:KeyInfoType"/> 
<element name="KeyName" type="string"/>
<element name="MgmtData" type="string"/>
<element name="KeyValue" type="ds:KeyValueType"/> 
<element name="RetrievalMethod" type="ds:RetrievalMethodType"/> 
<element name="X509Data" type="ds:X509DataType"/> 
<element name="PGPData" type="ds:PGPDataType"/> 
<element name="SPKIData" type="ds:SPKIDataType"/> 
<element name="Object" type="ds:ObjectType"/> 
<element name="Manifest" type="ds:ManifestType"/> 
<element name="SignatureProperties" type="ds:SignaturePropertiesType"/> 
<element name="SignatureProperty" type="ds:SignaturePropertyType"/> 
<element name="DSAKeyValue" type="ds:DSAKeyValueType"/>
<element name="RSAKeyValue" type="ds:RSAKeyValueType"/>

Received on Thursday, 20 September 2001 11:50:09 UTC