Changeset 446 for trunk/src/json/JTM


Ignore:
Timestamp:
05/02/11 11:05:26 (14 years ago)
Author:
lgiessmann
Message:

JTM: added unit-tests for exporting objects of the type FragmentC as JTM => fixed some bugs in the corresponding methods/functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/json/JTM/jtm_exporter.lisp

    r444 r446  
    558558  "Note if prefixes-p is set to nil the export format is JTM 1.0.
    559559   If prefixes-p is set to t the export format is JTM 1.1."
    560   (declare (Boolean prefixes-p)
    561            (Ignorable parent-p item-type-p prefixes)
     560  (declare (Boolean prefixes-p item-type-p)
     561           (Ignorable parent-p prefixes)
    562562           (Integer revision))
    563563  (let* ((prefixes-list
     
    593593                   :prefixes prefixes-list :revision revision :item-type-p nil)
    594594                  ","))
    595          (item-type (concat "\"item_type\":\"" item_type-topicmap "\","))
     595         (item-type (when item-type-p
     596                      (concat "\"item_type\":\"" item_type-topicmap "\",")))
    596597         (iis "\"item_identifiers\":null,")
    597598         (frag-reifier "\"reifier\":null"))
Note: See TracChangeset for help on using the changeset viewer.