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

Reply via email to