W3C home > Mailing lists > Public > www-webdav-dasl@w3.org > January to March 2008

QSD description for DAV:contains in DAV:basicsearchschema

From: Javier Godoy <rjgodoy@fich.unl.edu.ar>
Date: Mon, 4 Feb 2008 00:35:29 -0200
Message-ID: <001301c866d6$a3685f60$017ba8c0@Javier>
To: <www-webdav-dasl@w3.org>
Cc: "Julian Reschke" <julian.reschke@greenbytes.de>

Julian,

Section 5.19.8 of draft-reschke-webdav-search-14 requires that "All optional 
operators that are supported MUST be listed in the DAV:operators element. 
The listing for an operator consists of the operator (as an empty element), 
followed by one element for each operand. The operand MUST be either 
DAV:operand-property, DAV:operand-literal or DAV:operand-typed-literal 
(...)"

But the optional operator DAV:contains cannot be described in these terms, 
because
its content model is defined to be (#PCDATA) and there is no operand 
descriptor for #PCDATA content.

Is there any conforming way of describing DAV:contains?

IMHO, a possible solution would be defining a "DAV:operand-pcdata" element, 
so the following construct would be valid:

  <opdesc xmlns='DAV:'>
    <contains/>
    <operand-pcdata>
  </opdesc>


Regards,

Javier
Received on Monday, 4 February 2008 02:35:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 22 March 2009 03:38:10 GMT