W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > January 2009

Re: err:XC0016 and err:XD0019

From: Norman Walsh <ndw@nwalsh.com>
Date: Tue, 06 Jan 2009 22:12:11 -0500
To: public-xml-processing-model-comments@w3.org
Message-ID: <m2iqorhks4.fsf@nwalsh.com>
Toman_Vojtech@emc.com writes:
> Is there a reason why we have two error codes for invalid option values,
> and not just one? 

Editorial oversight, as usual, I believe.

> err:XD0019
>
>     It is a dynamic error if any option value does not satisfy the type
> required for that option.
>
> err:XC0016
>
>     It is a dynamic error if the value supplied for any option specified
> for any step in this section is not of the type mandated in the step
> description, with phrases such as "The value of the some-name option
> must be a QName" or "the value of the some-flag option must be a
> boolean".
>
> The only difference I see between err:XC0016 and err:XD0019 is that
> err:XC0016 is meant specifically for the standard step library. But is
> it necessary?

I don't think so. I propose to remove err:XC0016 in favor of err:XD0019.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | A man can believe a considerable deal
http://nwalsh.com/            | of rubbish, and yet go about his daily
                              | work in a rational and cheerful
                              | manner.--Norman Douglas

Received on Wednesday, 7 January 2009 03:12:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 January 2009 03:12:53 GMT