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

RE: p:data errors

From: <Toman_Vojtech@emc.com>
Date: Mon, 10 Nov 2008 02:23:13 -0500
Message-ID: <6E216CCE0679B5489A61125D0EFEC7870D56E0A0@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-comments@w3.org>

> 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>
> </para>
> 
> That covers both cases, doesn't it?
> 

Looks good to me.

Regards,
Vojtech
Received on Monday, 10 November 2008 07:24:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:26 UTC