[ADC 1.0.3] Size attribute in XML schema is incorrect

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

[ADC 1.0.3] Size attribute in XML schema is incorrect

Post by Pretorian » 01 Apr 2013, 18:39

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: 213
Joined: 21 Jul 2009, 10:21

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

Post by Pretorian » 03 Jun 2013, 20:34

This is now pushed to upcoming ADC 1.0.3.

Locked

Who is online

Users browsing this forum: No registered users and 0 guests