[ADC-Ext 1.0.8] TTH reference in XML schema for TIGR

Locked
Pretorian
Site Admin
Posts: 213
Joined: 21 Jul 2009, 10:21

[ADC-Ext 1.0.8] TTH reference in XML schema for TIGR

Post by Pretorian » 01 Apr 2013, 18:52

This is a proposal to update the TIGR proposal with a reference to the necessary changes to the XML schema.
The following changes are done to the file list XML schema:

A new type is defined with an appropriate attribute:
<xs:simpleType name="tthType">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Za-z2-7]{39}"></xs:pattern>
</xs:restriction>
</xs:simpleType>
<xs:attribute name="TTH" type="tthType"></xs:attribute>
The attribute is then referenced in the File element:
<xs:attribute ref="TTH" use="required"></xs:attribute>

Pretorian
Site Admin
Posts: 213
Joined: 21 Jul 2009, 10:21

Re: Adding TTH reference in XML schema for TIGR extension

Post by Pretorian » 30 Jun 2013, 13:32

This is now pushed to ADC-Ext 1.0.8.

Locked

Who is online

Users browsing this forum: No registered users and 0 guests