> > 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, VojtechReceived on Monday, 26 January 2009 16:33:46 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 26 January 2009 16:33:46 GMT