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

Re: Do we need err:XS0016?

From: Norman Walsh <ndw@nwalsh.com>
Date: Fri, 21 Nov 2008 07:49:06 -0500
To: public-xml-processing-model-comments@w3.org
Message-ID: <m24p21qm65.fsf@nwalsh.com>
Toman_Vojtech@emc.com writes:

> Hi all,
>
> For p:variable, p:with-option, and p:with-param, we have a static error
> err:XS0016 that says:
>
> "It is a static error if the select attribute is not specified."
>
> But @select is required by the schema, so I wonder whether we need an
> explicit error code here. I think that err:XS0008 covers this case.

Maybe we could cover this case with a more general error, but I don't
think err:XS0008 does the trick: it says that you can't use attributes
not defined by this spec, it doesn't say you have to use attributes
that are.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | First time surrealists are often
http://nwalsh.com/            | confused by the similarities between
                              | fish and telephones.

Received on Friday, 21 November 2008 12:49:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 21 November 2008 12:49:47 GMT