[ADC 1.0.3] Size attribute in XML schema is incorrect

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

[ADC 1.0.3] Size attribute in XML schema is incorrect

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

The size attribute in the XML schema is incorrect;
<xs:attribute name="Size" type="xs:int"></xs:attribute>
This has the implication that the Size attribute can only contain the value of a signed 32-bit integer (2147483648) which is equal to (you've guessed it) 2 GiB. I.e., any file contained in a file list that is above 2 GiB is going to be considered invalid by the schema.

The proper value should be the use of an unsigned long:
<xs:attribute name="Size" type="xs:unsignedLong"></xs:attribute>

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

Re: [Future ADC 1.0.3] Size attribute in XML schema is incor

Post by Pretorian » Mon Jun 03, 2013 8:34 pm

This is now pushed to upcoming ADC 1.0.3.

Who is online

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