W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > May 2008

Re: p:hash : add reference and replace sha1 by sha with a version parameter

From: Innovimax SARL <innovimax@gmail.com>
Date: Wed, 7 May 2008 13:58:05 +0200
Message-ID: <546c6c1c0805070458j7825318bwb7de3e9b74e3ba34@mail.gmail.com>
To: "Norman Walsh" <ndw@nwalsh.com>
Cc: public-xml-processing-model-wg@w3.org
On Wed, May 7, 2008 at 1:40 PM, Norman Walsh <ndw@nwalsh.com> wrote:

> I'm ok with the proposed changes.
>
> / "Innovimax SARL" <innovimax@gmail.com> was heard to say:
> | The value of the algorithm option must be a QName. If it does not have a
> | prefix, then it must be one of the following values: "crc", "md", "sha",
> | "whirlpool" and "ripemd".
>
> I've never heard of whirlpool. I've heard of ripemd, but have no idea
> how to implement it. Are those five exhaustive, or are there other
> popular algorithms?


Sure there are, but not very frequently used so they can wait for V2 (or
propose them during last-call) or use the extension mecanism



>
> | The value of the version option must be a string.
>
> You made version required, but I wonder if we should give it an
> algorithm-specific default? version=1 if algorithm=sha, 5 if md. That
> way, for crc and other algorithms that don't have a version, it won't
> be an error to leave it out.


Indeed, that could be a way to do that

Mohamed

-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Wednesday, 7 May 2008 11:58:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 May 2008 11:58:42 GMT