Changes between Version 101 and Version 102 of DASISH/XSD and XML


Ignore:
Timestamp:
08/20/13 08:17:49 (11 years ago)
Author:
olhsha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DASISH/XSD and XML

    v101 v102  
    526526be replaced when the schema is updated."
    527527
     528=== Resolution ===
     529
     530Not discussed yet.
     531
    528532== New-Or-Existing-Source-Info JAXB-generated class ==
    529533
     
    534538to find the one with given external-id/uri.  If it is not found then the source is new.
    535539
     540=== Resolution ===
     541
     542The schema stays intact.  For the backend-code: the server should check if the source is indeed new, see  https://trac.clarin.eu/ticket/362 for more detail.
     543
    536544
    537545==    External_id (Data Base) vs URI (schema) vs UUID-based class (Java code) ==
     
    542550encapsulating  UUI.  Any such class  has a string field "identifier" (corresponding to external_id) plus hash, plus internal constants for hash.
    543551
     552=== Resolution ===
     553
     554The schema stays intact. For the back-end code: the URI must be of the form  "http(s):/<dasish-server>/externalID.  See https://trac.clarin.eu/ticket/363 for more detail.
     555
     556 UUI-based classes are used to generate proper UUID-string representing the external identifier of a resource. The role of hash-functions must be  discussed with the Peter,
    544557
    545558== Body: must be some serialization/deserialization mechanism ==
     
    549562-- "body" in JAXB-generated  class is a list of objects
    550563
    551 For now, I use simple "serialize" and "deserialize" Helpers' procedures  which should be replaced by
    552 some proper marshalling-demarshalling. For simple serialization I treat the first element of the list
    553 of objects above  as a text  whcich corresponds to the DB column "body_xml"
     564For now, I use simple "serialize" and "deserialize" Helpers' procedures  which should be replaced by some proper marshalling-demarshalling. For simple serialization I treat the first element of the list
     565of objects above  as a text  whcich corresponds to the DB column "body_xml".
     566
     567=== Resolution ===
     568
     569The schema  stays intact. For the back-end code: still needs to be discussed "how we are going to parse annotation bodies". See https://trac.clarin.eu/ticket/364 for more detail.
    554570
    555571
     
    557573
    558574Misprint in timeStamp: timeSatmp.
     575
     576=== Resolution ===
     577
     578The schema must be fixed.  See https://trac.clarin.eu/ticket/365
    559579
    560580== Cached Representation Info ==
     
    564584
    565585GET api/sources/<sid>/cached/<cid>/content
     586
     587=== Resolution ===
     588
     589The schema stays intact. For the back-end (and the database!):  the cached representation for now should be stored in the database
     590as a BLOB. See:http://dba.stackexchange.com/questions/803/blobs-or-references-in-postgresql/815#815.
     591
     592Also, see https://trac.clarin.eu/ticket/366
     593
    566594
    567595== Version ==
     
    581609class "Version".
    582610
     611=== Resolution ===
     612
     613Fix the schema: URI must be added to the version-type. The ticket: https://trac.clarin.eu/ticket/367
    583614
    584615==  LISTS of Resources, like "PermissionS" and "CachedRepresentationS",