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

Pretorian
Site Admin
Posts: 214
Joined: Tue Jul 21, 2009 10:21 am

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

Post by Pretorian » Mon Apr 01, 2013 6:52 pm

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: 214
Joined: Tue Jul 21, 2009 10:21 am

Re: Adding TTH reference in XML schema for TIGR extension

Post by Pretorian » Sun Jun 30, 2013 1:32 pm

This is now pushed to ADC-Ext 1.0.8.

Who is online

Users browsing this forum: Google (Crawler) and 0 guests