[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-GIFT] Inconsistency in MRML?
From: |
Wolfgang Mueller |
Subject: |
Re: [bug-GIFT] Inconsistency in MRML? |
Date: |
Mon, 24 Sep 2001 10:28:28 +0200 |
On Thursday 20 September 2001 13:38, David Squire wrote:
> Hi all,
>
> I am slogging away trying to get my Perl interface for GIFT to work
> properly, and making many changes to CFeedbackClient as I do so. Since the
> PHP demo in Geneva works fine with my server, I am doing some reverse
> engineering by looking at what it sends.
>
> First, I have noticed that it sends a "configure-session" element as part
> of every query. Is this actually required? (I have a suspicion that
> algorithms other than the adefault are not configured in the server if this
> doesn't happen).
No, it is not required.
> Secondly, (for example) it sends:
>
> <?xml version="1.0" standalone="no" ?><!DOCTYPE mrml SYSTEM
> "http://isrpc85.epfl.ch/Charmer/code/mrml.dtd"><mrml session-id="6">
> <configure-session session-id="6">
> <algorithm algorithm-id="a-dms3" algorithm-type="a-dms3"
> collection-id="c-12-12-11-12-6-101-4-192-0" > </algorithm>
> </configure-session>
> <query-step session-id="6" result-size="10"
> result-cutoff="0.0" collection="c-12-12-11-12-6-101-4-192-0"
> algorithm-id="a-dms3"> <mpeg-7-qbe></mpeg-7-qbe>
> <user-relevance-element-list>
>
> Note that inside the "algorithm" element the attribute name is
> "collection-id", whereas in "query-step" it is "collection". Is this
> intentional or necessary? It seems like a potential source of confusion to
> me...
This seems a bug to me.
Cheers, and thanks
Wolfgang
--
Dr. Wolfgang Müller, assistant == teaching assistant
Personal page: http://cui.unige.ch/~vision/members/WolfgangMueller.html
Maintainer, GNU Image Finding Tool (http://www.gnu.org/software/gift)