Thread View: news.software.nntp
3 messages
3 total messages
Started by Julien ÉLIE
Tue, 20 Oct 2009 19:17
XPAT and white spaces
Author: Julien ÉLIE
Date: Tue, 20 Oct 2009 19:17
Date: Tue, 20 Oct 2009 19:17
67 lines
3153 bytes
3153 bytes
Hi, I have a question about XPAT and its use. RFC 2980 defines its pattern this way: XPAT header range|<message-id> pat [pat...] At least one pattern in wildmat must be specified as well. If there are additional arguments the[y] are joined together separated by a single space to form one complete pattern. I wonder how news clients expect the pattern given to XPAT to be parsed. Should white spaces be allowed? I think it should in case more than one single space is used. Is "XPAT subject 1 two spaces" supposed to be equal to "XPAT subject 1 two spaces"? Or should only the second command match "two spaces"? (I believe that's the case but I would like to have your opinion.) Should "XPAT subject 1 leading*" match " leading sample" or not? * As for servers, do you know how it is implemented? * As for clients, do you use that command? And do you expect servers to properly understand white spaces? Examples: DNEWS 5.7e1 answers an article number (even though the request is made by message-ID) and allows white spaces: XPAT subject <4add663b$0$16922$892e4abb@news.xennews.com> *Mise en* 221 subject fields follow 3728 Re: Mise en Examen .. XPAT subject <4add663b$0$16922$892e4abb@news.xennews.com> *Mise en* 221 subject fields follow .. INN 2.5.1 does not allow white spaces: XPAT subject <4add663b$0$16922$892e4abb@news.xennews.com> *Mise en* 221 Header information for subject follows (from the article) <4add663b$0$16922$892e4abb@news.xennews.com> Re: Mise en Examen .. XPAT subject <4add663b$0$16922$892e4abb@news.xennews.com> *Mise en* 221 Header information for subject follows (from the article) <4add663b$0$16922$892e4abb@news.xennews.com> Re: Mise en Examen .. -- Julien ÉLIE « -- Chef ! On vient ! -- On se met en carré ? -- Non ! En bosquet ! » (Astérix)
Re: XPAT and white spaces
Author: Brian Kraft
Date: Wed, 21 Oct 2009 00:13
Date: Wed, 21 Oct 2009 00:13
6 lines
1347 bytes
1347 bytes
Julien ÉLIE wrote in part: >* As for servers, do you know how it is implemented? It's been a while for me, but I remember having to use question marks instead of spaces for my searches on Diablo readers.
Re: XPAT and white spaces
Author: Julien ÉLIE
Date: Fri, 13 Nov 2009 23:57
Date: Fri, 13 Nov 2009 23:57
14 lines
1660 bytes
1660 bytes
Hi Brian, >>* As for servers, do you know how it is implemented? > > It's been a while for me, but I remember having to use question marks > instead of spaces for my searches on Diablo readers. OK, thanks for your feedback. -- Julien ÉLIE « Tuto, cito, iucunde. » (Esculape)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads