W3C home > Mailing lists > Public > www-webdav-dasl@w3.org > October to December 2003

RE: SEARCH by last path segment, Was: SEARCH for displayname

From: Wallmer, Martin <Martin.Wallmer@softwareag.com>
Date: Mon, 17 Nov 2003 09:25:43 +0100
Message-ID: <DFF2AC9E3583D511A21F0008C7E62106063A9120@daemsg02.software-ag.de>
To: "'Julian Reschke'" <julian.reschke@gmx.de>, www-webdav-dasl@w3.org
Cc: "Wallmer, Martin" <Martin.Wallmer@softwareag.com>
Hi Julian,

You are right, this is to be specified.


My interpretion is:

... WHERE ((lastpathsegment matches "%.pdf") 			// all
        OR (lastpathsegment matches "%-2001-july.pdf"))  
     AND NOT 
          ((lastpathsegment matches "%-2001-%.pdf") 		// all
        OR (lastpathsegment matches "%-1999-%.pdf"))                      
so the file "report-2001-july.pdf" IS excluded. 



-----Original Message-----
From: Julian Reschke [mailto:julian.reschke@gmx.de]
Sent: Sonntag, 16. November 2003 19:36
To: www-webdav-dasl@w3.org
Cc: Wallmer, Martin
Subject: Re: SEARCH by last path segment, Was: SEARCH for displayname


looking at your proposal 

I have the following question:

When a scope includes both include-lastpathsegment and 
exclude-lastpathsegment elements, how are they processed?

For instance, in


You state

"The scope of this query comprises all resources within or below 
container1, that have the postfix .pdf, all doc files starting with 
"chapter", but not the file (for example) report-2001-july.pdf"

However you do not specify a behaviour when both kinds of child elements 
are present. It seems that this may become hard because you will have to 
let it depend on document order and nesting. Does an include that 
follows an exclude pattern affect the whole filter, or just the latest 

It seems to me that this is getting too complicated. Keep in mind that 
this also affects result truncation.

Regards, Julian

<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
Received on Monday, 17 November 2003 03:26:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:04:13 UTC