Changes between Version 101 and Version 102 of DASISH/XSD and XML
- Timestamp:
- 08/20/13 08:17:49 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DASISH/XSD and XML
v101 v102 526 526 be replaced when the schema is updated." 527 527 528 === Resolution === 529 530 Not discussed yet. 531 528 532 == New-Or-Existing-Source-Info JAXB-generated class == 529 533 … … 534 538 to find the one with given external-id/uri. If it is not found then the source is new. 535 539 540 === Resolution === 541 542 The 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 536 544 537 545 == External_id (Data Base) vs URI (schema) vs UUID-based class (Java code) == … … 542 550 encapsulating UUI. Any such class has a string field "identifier" (corresponding to external_id) plus hash, plus internal constants for hash. 543 551 552 === Resolution === 553 554 The 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, 544 557 545 558 == Body: must be some serialization/deserialization mechanism == … … 549 562 -- "body" in JAXB-generated class is a list of objects 550 563 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" 564 For 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 565 of objects above as a text whcich corresponds to the DB column "body_xml". 566 567 === Resolution === 568 569 The 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. 554 570 555 571 … … 557 573 558 574 Misprint in timeStamp: timeSatmp. 575 576 === Resolution === 577 578 The schema must be fixed. See https://trac.clarin.eu/ticket/365 559 579 560 580 == Cached Representation Info == … … 564 584 565 585 GET api/sources/<sid>/cached/<cid>/content 586 587 === Resolution === 588 589 The schema stays intact. For the back-end (and the database!): the cached representation for now should be stored in the database 590 as a BLOB. See:http://dba.stackexchange.com/questions/803/blobs-or-references-in-postgresql/815#815. 591 592 Also, see https://trac.clarin.eu/ticket/366 593 566 594 567 595 == Version == … … 581 609 class "Version". 582 610 611 === Resolution === 612 613 Fix the schema: URI must be added to the version-type. The ticket: https://trac.clarin.eu/ticket/367 583 614 584 615 == LISTS of Resources, like "PermissionS" and "CachedRepresentationS",