improve log entry for not supported tbx

XMLWordPrintable

    • Type: Improvement
    • Resolution: Unresolved
    • None
    • Affects Version/s: None
    • Component/s: TermPortal

      Problem

      Some tbx structures are not supported for terminology import (so far), such as type="TBX-Core" style="dca". And in general TBXv3 so far is not supported.  When such a tbx is used for import into a term collection, the log will inform that the tbx did not contain any terms which is misleading

       

      Solution

      We should inform that the tbx structure is not supported.

      Since TBX has many flavours, we should detect, if 

      • the file contains all the tags, we expect a TBX file to have
      • if it does NOT contain tags like conceptEntry, langSec and termSec, which are clear TBXv3 tags. And not a root-tag "tbx".
      • It must contain a root-tag "martif".

      If at least one of those criterias is NOT met, we should throw an error on import:

      EN: The TBX version you try to import isx not supported. Please import a TBX v2-file (ISO 30042:2008).

            Assignee:
            Pavel Perminov
            Reporter:
            Sylvia Schumacher
            Thomas Lauria
            Stephan Bergmann, Sylvia Schumacher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: