Dear Peter,

I do not understand your "consistency" argument. Surely, you can find
some way to serve files with any name through http?

Best,  Djoerd.

> On Sat, Mar 24, 2007 at 04:02:22PM +0100, Torsten Grust wrote:
>> Hi all,
>> 
>> while I appreciate the http access functionality for database 
>> documents, I do feel that  this (rather strict) naming convention
>> is unfortunate.  There are a lot of XML files out there that use 
>> non-'.xml' endings ('.xhtml' and '.xsl' come to mind, immediately).
>> 
>> 
>> Cheers, --Torsten
>> 
>> On 3/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>> Hi,
>>> 
>>> MonetDB/XQuery has an integrated HTTP server that treats GET (and
>>> PUT,DELETE) requests for URLs that end in .xml or .XML in a
>>> special way.
>>> 
>>> Such files are not served from the http file directory
>>> (datadir/xrpc/) but are taken to be requests for XML documents
>>> stored in MonetDB/XQuery.
>>> 
>>> Since the moment this feature was added, indeed the restriction
>>> has been imposed that all documents in the database should have a
>>> name ending in .xml This was done for consistency: now all
>>> documents X in the database can be retrieved through HTTP (i.e.
>>> http://yourserver:50001/X)
>>> 
>>> If the restriction is not imposed, the HTTP access method will
>>> not work anymore for all documents.
>>> 
>>> Peter
>>> 
>>> 
>>> ---- Stefan Manegold <[EMAIL PROTECTED]> schreef:
>>>> Peter,
>>>> 
>>>> could you please have a look at this and comment?
>>>> 
>>>> Thank you very much in advance! Stefan
>>>> 
>>>> 
>>>> On Sat, Mar 24, 2007 at 02:02:27PM +0100, Stefan Manegold
>>>> wrote:
>>>>> Two tests fail (apparently unnoticed for some time) due to
>>>>> the same problem; cf.
>>>>> 
>>>>> http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora6/tests_BugDay_2005-12-19_0.9.3/shred_doc_with_space.SF-1211372.out.00.html
>>>>>  
>>>>> http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora6/tests_BugsViaSourgeforce/ID.1200405.out.00.html
>>>>> 
>>>>> 
>>>>> Stefan
>>>>> 
>>>>> 
>>>>> On Fri, Mar 23, 2007 at 09:17:59AM +0100, Djoerd Hiemstra
>>>>> wrote:
>>>>>> Dear Martin,
>>>>>> 
>>>>>> You are right, sorry, here is the English translation: 
>>>>>> Recently it is no longer possible to add  logical names for
>>>>>> XML documents that do not end with .xml, for instance
>>>>>> 
>>>>>> let $site := "http://www.sigir2007.org/"; let $pages :=
>>>>>> ("index.html", "cfp.html", "cfw.html") for $page in $pages 
>>>>>> return pf:add-doc(concat($site, $page), $page, "MySIGIR")
>>>>>> 
>>>>>> gives: ERROR = !ERROR: add-doc((null)): document name must
>>>>>> end in .xml (3 such errors)!
>>>>>> 
>>>>>> In the previous version this was possible, and I use it for
>>>>>> instance in a demo for one of our industrial partners in
>>>>>> the MultimediaN project. Can this error please be removed?
>>>>>> XML documents can have many extensions, for instance.rss,
>>>>>> .xhtml, .svg, etc. I might want to add to the database: 
>>>>>> sigir.html (web page in xhtml) sigir.xml  (source of the
>>>>>> page) sigir.xsd  (schema of the page) sigir.rss  (RSS feed
>>>>>> of the page) sigir.svg  (page as a nice graphic) sigir.mml
>>>>>> (mathematical formula of the page) etc, etc.,
>>>>>> 
>>>>>> I think the error is too restrictive.
>>>>>> 
>>>>>> Best regards, Djoerd.
>>>>>> 
>>>>>> Martin Kersten wrote:
>>>>>>> Djoerd,
>>>>>>> 
>>>>>>> Please, realize that this list is read worldwide. English
>>>>>>> is the preferred language. It is also readable for 100
>>>>>>> people in Beijing looking at this mailing list.
>>>>>>> 
>>>>>>> regards, Martin
>>>>>>> 
>>>>>>> Djoerd Hiemstra wrote:
>>>>>>>> Ha die MonetDBs,
>>>>>>>> 
>>>>>>>> Ik zie dat het niet meer langer toegestaan is om
>>>>>>>> logische namen van documenten in de database te hebben
>>>>>>>> die niet op .xml eindigen, bijvoorbeeld:
>>>>>>>> 
>>>>>>>> let $site := "http://www.sigir2007.org/"; let $pages :=
>>>>>>>> ("index.html", "cfp.html", "cfw.html") for $page in
>>>>>>>> $pages return pf:add-doc(concat($site, $page), $page,
>>>>>>>> "MySIGIR")
>>>>>>>> 
>>>>>>>> geeft:
>>>>>>>> 
>>>>>>>> ERROR = !ERROR: add-doc((null)): document name must end
>>>>>>>> in .xml (3 such errors)!
>>>>>>>> 
>>>>>>>> Dit mocht eerder wel. Kan dit teruggedraaid worden? XML
>>>>>>>> documenten kunnen veel extensies hebben, bijvoorbeeld
>>>>>>>> .rss, .xhtml, .svg, etc. Ik wil misschien wel
>>>>>>>> toevoegen: sigir.html (webpagina in xhtml) sigir.xml
>>>>>>>> (source van webpagina) sigir.rss  (RSS feed voor
>>>>>>>> pagina) sigir.svg  (pagina als mooi plaatje) sigir.mml
>>>>>>>> (wiskundige formulering voor pagina) enz., enz.
>>>>>>>> 
>>>>>>>> Ik vind deze foutmelding te restrictief.
>>>>>>>> 
>>>>>>>> Groetjes,  Djoerd.
>>>>>>>> 
>>>>>>>> -------------------------------------------------------------------------
>>>>>>>>  Take Surveys. Earn Cash. Influence the Future of IT 
>>>>>>>> Join SourceForge.net's Techsay panel and you'll get the
>>>>>>>> chance to share your opinions on IT & business topics
>>>>>>>> through brief surveys-and earn cash 
>>>>>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>>>>>>  _______________________________________________ 
>>>>>>>> MonetDB-users mailing list 
>>>>>>>> [email protected] 
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/monetdb-users
>>>>>>>> 
>>>>>> -------------------------------------------------------------------------
>>>>>>  Take Surveys. Earn Cash. Influence the Future of IT Join
>>>>>> SourceForge.net's Techsay panel and you'll get the chance
>>>>>> to share your opinions on IT & business topics through
>>>>>> brief surveys-and earn cash 
>>>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>>>>  _______________________________________________ 
>>>>>> MonetDB-users mailing list 
>>>>>> [email protected] 
>>>>>> https://lists.sourceforge.net/lists/listinfo/monetdb-users
>>>>> -- | Dr. Stefan Manegold | mailto:[EMAIL PROTECTED] | |
>>>>> CWI,  P.O.Box 94079 | http://www.cwi.nl/~manegold/  | | 1090
>>>>> GB Amsterdam   | Tel.: +31 (20) 592-4212       | | The
>>>>> Netherlands     | Fax : +31 (20) 592-4312       |
>>>>> 
>>>>> -------------------------------------------------------------------------
>>>>>  Take Surveys. Earn Cash. Influence the Future of IT Join
>>>>> SourceForge.net's Techsay panel and you'll get the chance to
>>>>> share your opinions on IT & business topics through brief
>>>>> surveys-and earn cash 
>>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>>>  _______________________________________________ 
>>>>> MonetDB-users mailing list 
>>>>> [email protected] 
>>>>> https://lists.sourceforge.net/lists/listinfo/monetdb-users
>>>>> 
>>>> -- | Dr. Stefan Manegold | mailto:[EMAIL PROTECTED] | |
>>>> CWI,  P.O.Box 94079 | http://www.cwi.nl/~manegold/  | | 1090 GB
>>>> Amsterdam   | Tel.: +31 (20) 592-4212       | | The Netherlands
>>>> | Fax : +31 (20) 592-4312       |
>>> 
>>> -------------------------------------------------------------------------
>>>  Take Surveys. Earn Cash. Influence the Future of IT Join
>>> SourceForge.net's Techsay panel and you'll get the chance to
>>> share your opinions on IT & business topics through brief
>>> surveys-and earn cash 
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>  _______________________________________________ MonetDB-users
>>> mailing list [email protected] 
>>> https://lists.sourceforge.net/lists/listinfo/monetdb-users
>>> 
>> 
>> -- | Torsten "Teggy" Grust | [EMAIL PROTECTED]
>> 
>> -------------------------------------------------------------------------
>>  Take Surveys. Earn Cash. Influence the Future of IT Join
>> SourceForge.net's Techsay panel and you'll get the chance to share
>> your opinions on IT & business topics through brief surveys-and
>> earn cash 
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>  _______________________________________________ MonetDB-users
>> mailing list [email protected] 
>> https://lists.sourceforge.net/lists/listinfo/monetdb-users
> 


-- 
Djoerd Hiemstra
University of Twente
Department of Computer Science
PO Box 217, 7500 AE
Enschede, The Netherlands

URL: www.cs.utwente.nl/~hiemstra
Tel: +31 53 4892335



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MonetDB-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-users

Reply via email to