Re: numbering

Josh,

This does not seem quite right since it requires 10 or more signatures?

e.g. disallows signature01.xml, signature02.xml etc
and requires signature10.xml etc

---

I propose the following alternative in section 5.3

Naming convention for a distributor signature:"signature" [0-9]* ".xml"

Every distributor signature MUST have the same number of digits in the  
file name and use leading zeros for numbers less than the maximum  
numeric value. This is to enable consistent sorting.

To give an example, if nine distributor signatures are expected the  
numbers should range from 01 to 09, e.g. signature01.xml to  
signature09.xml.
---

Does this make sense?

regards, Frederick


Frederick Hirsch
Nokia



On Mar 5, 2009, at 9:15 AM, ext timeless wrote:

> http://dev.w3.org/2006/waf/widgets-digsig/#locating-signatures
>
> 4.3
>> If the signatures list is not empty, sort the list of signatures by  
>> the file name field in descending order (e.g. signature001.xml  
>> followed by signature9.xml followed by signature.xml).
>
> How do you sort signature009.xml and signature9.xml?
>
> The proposal is to only allow [1-9][0-9]*, which should solve this.
>
> And validators should complain about archives containing files of the
> form "signature" [0][0-9]* ".xml"
>

Received on Thursday, 5 March 2009 16:02:16 UTC