Changeset 242 for branches/new-datamodel


Ignore:
Timestamp:
03/21/10 19:25:42 (15 years ago)
Author:
lgiessmann
Message:

new-datamodel: changed some code sections that caused problems with the package "json" --> the compilation of isidorus succeeds now without errors and warnings but most likely there currently exist some semantic errors

Location:
branches/new-datamodel/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified branches/new-datamodel/src/json/json_importer.lisp

    r234 r242  
    6969      (declare (TopicMapC tm))
    7070      (setf roles (xml-importer::set-standard-role-types roles))
    71       (add-to-topicmap tm
     71      (add-to-tm tm
    7272                       (make-construct 'AssociationC
    7373                                       :start-revision start-revision
     
    128128          (dolist (instanceOf-top instanceof-topics)
    129129            (json-create-instanceOf-association instanceOf-top top start-revision :tm tm))
    130 ;         (add-to-topicmap tm top) ; will be done in "json-to-stub"
     130;         (add-to-tm tm top) ; will be done in "json-to-stub"
    131131          top)))))
    132132
     
    158158                                       :topicid (getf json-decoded-list :id)
    159159                                       :xtm-id xtm-id)))
    160           (add-to-topicmap tm top)
     160          (add-to-tm tm top)
    161161          top)))))
    162162       
     
    330330      (error "Error in the creation of an instanceof association: core topics are missing"))
    331331
    332     (add-to-topicmap
     332    (add-to-tm
    333333     tm
    334334     (make-construct
  • TabularUnified branches/new-datamodel/src/xml/xtm/importer.lisp

    r92 r242  
    137137                 ((top
    138138                   (from-topic-elem-to-stub top-elem revision :xtm-id "core.xtm")))
    139                (add-to-topicmap tm top)))))))
     139               (add-to-tm tm top)))))))
    140140
    141141;TODO: replace the two importers with this macro
     
    191191                       :message "could not find type topic (first player)"
    192192                       :reference topicid-of-supertype)))
    193     (add-to-topicmap
     193    (add-to-tm
    194194     tm
    195195     (make-construct
Note: See TracChangeset for help on using the changeset viewer.