[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XSD Schema considerations



Hello,

I have checked lastest versions of LTANS drafts, and i have some questions about xsd´s schemas.

In xmlers.xsd, inside EvidenceRecord element we can add this new elements to save up certificates and information of revocation.

<xsd:element name="KeyInfo" type="ds:KeyInfoType"/>  ----- defined in xmldisg-core-schema.xsd
<xsd:element name="CompleteRevocationRefs" type="xa:CompleteRevocationRefsType"/> ----- defined in XAdES.xsd
   
and change the complextype TimeStamp

<xsd:complexType name="TimeStamp">
       <xsd:sequence>
            <xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>  
       </xsd:sequence>
   </xsd:complexType>

by this which is defined in oasis-dss-core-schema-v1.0-os.xsd:

<xsd:complexType name="TimeStampType">
        <xsd:choice>
            <xsd:element ref="ds:Signature"/>
            <xsd:element name="RFC3161TimeStampToken" type="xsd:base64Binary"/>
            <xsd:element name="Other" type="tn:AnyType"/>
        </xsd:choice>
</xsd:complexType>
   
<xsd:complexType name="AnyType">
        <xsd:sequence>
            <xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
</xsd:complexType>

I want to know your opinion about these changes.

Thanks.