- From: <Toman_Vojtech@emc.com>
- Date: Mon, 26 Jan 2009 11:32:48 -0500
- To: <public-xml-processing-model-comments@w3.org>
> > From this I assume that the content-type attribute of c:body > > overrides any conflicting information in the headers for the > > body part, but it is not really obvious from the spec. ...or, > > it may be as well the other way around. > > If I am right, that's an err:XC0020 instead: > > It is a dynamic error (err:XC0020) if the value of a header > specified via c:header (e.g. Content-Type) conflicts with the > value for that header that the step and/or protocol > implementation must set. > > -- http://www.w3.org/TR/xproc/#err.inline.C0020 > Is it really so? I thought that the error is for something else, like if use a value that is not valid/supported for given header. > What about content-type="text/xml; utf-8" and c:header > Content-Type set to "text/xml" for instance? Do they conflict? > Interesting question... I would say that there is no conflict here. One of the content-type values will be completely ignored, in my opinion. Regards, Vojtech
Received on Monday, 26 January 2009 16:33:46 UTC