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

p:xquery and c:data

From: <Toman_Vojtech@emc.com>
Date: Wed, 18 Feb 2009 04:19:17 -0500
Message-ID: <6E216CCE0679B5489A61125D0EFEC7870E910D2A@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-comments@w3.org>
The text in 7.2.9 (p:xquery) says this about the document on the 'query'
port is handled:

"If the document root element is c:data or has a c:content-type
attribute that specifies a text content type or a media type that the
implementation recognizes, then the text descendants of this element are
considered the query."

So, does this really mean that the p:xquery step always takes the c:data
text content no matter whether what c:data/@content-type says?
Consider this:

<c:data content-type="image/png">iVBORw0KG...</c:data>

Or was the original intention to say that the content type (specified
either by @content-type in the case of c:data or by @c:content-type in
other cases) must be a text content type (or anything else the
implementation recognizes)?

Regards,
Vojtech
Received on Wednesday, 18 February 2009 09:20:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 18 February 2009 09:20:11 GMT