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

Re: p:data errors

From: Norman Walsh <ndw@nwalsh.com>
Date: Sun, 09 Nov 2008 13:36:32 -0500
To: public-xml-processing-model-comments@w3.org
Message-ID: <m27i7c4uhb.fsf@nwalsh.com>
Toman_Vojtech@emc.com writes:

> Hi all,
> I think that we need an equivalent of err:XD0011 for p:data (or we can
> generalize XD0011 so that it can be used both for p:document and
> p:data).
> Also, there is no error for reporting fatal mismatches between the
> content-type/charset declared on p:data and the actual content.

It didn't seem convenient to reword D0011 so that it worked for both, so
I added D0029:

<para><error code="D0029">It is a <glossterm>dynamic error</glossterm>
if the document referenced by a <tag>p:data</tag> element does not
exist, cannot be accessed, or cannot be encoded as specified.</error>

That covers both cases, doesn't it?

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | Some people do their laundry in emacs,
http://nwalsh.com/            | but I find typing ^C-^X-^W-q-L-TT to
                              | add the fabric softener to be a bit
                              | cumbersome.-- rlr@panix.com

Received on Sunday, 9 November 2008 18:37:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:41:08 UTC