[Bug 11738] New: [FT] thesaurus.xsd wrong (again) or usability.xml wrong

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11738

           Summary: [FT] thesaurus.xsd wrong (again) or usability.xml
                    wrong
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Full Text 1.0
        AssignedTo: jim.melton@acm.org
        ReportedBy: paul@lucasmail.org
         QAContact: public-qt-comments@w3.org


The thesaurus.xsd file that is part of the Full Text Test Suite specifies the
schema for a "testing" thesaurus. It says that a synonym has exactly 1 term and
one or more relationships.  It does *not* say that a synonym can have more
synonyms.

However, the file usability.xml has:

  <entry>
    <term>infrastructure</term>
    <synonym>
      <term>networks</term>
      <synonym>
        <term>Web</term>
        <relationship>NT</relationship>
      </synonym>
      <relationship>NT</relationship>
    </synonym>
  </entry>

i.e., the synonym "networks" itself has a synonym of "Web".  It is assumed that
the intention was to codify both a hierarchical relationship and "levels" which
implies that the schema is wrong.

Another oddity in the schema is why an entry can have *zero* terms.  You'd
think an entry would have exactly one term, but that's not what the schema
says.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 11 January 2011 21:16:43 UTC