Changes between Version 13 and Version 14 of schema/xpointer


Ignore:
Timestamp:
Mar 22, 2011, 4:17:43 PM (14 years ago)
Author:
jwillenborg
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • schema/xpointer

    v13 v14  
    3131
    3232* XPointer to a page in an XML document. The result of the XPointer URL is the whole page. Example:
    33   * <p>... (see <ref target="http://mpdl.mpiwg-berlin.mpg.de/music/ramones/ramones_2004.xml#xpointer((id('page6'))">Dick Porter: Ramones – The Complete Twisted History, London: Plexus, 2004. Page 6. ISBN 0859653269</ref>)
     33  * <p>... (see <ref target="http://mpdl-proto.mpiwg-berlin.mpg.de/tei/en/ramones_2004.xml#xpointer((id('page6'))">Dick Porter: Ramones – The Complete Twisted History, London: Plexus, 2004. Page 6. ISBN 0859653269</ref>)
    3434  * if the document contains no pages (no <pb/> elements) then the page number doesnt't have to be specified (all elements are on the first page internally)
    3535* XPointer to an element on a page in an XML document. The result of the XPointer URL is the page and the requested element is highlighted. Example:
    36   * <p>Joey Ramone said: "When we started up in March of ’74, it was because the bands we loved, the rock ’n’ roll that we knew, had disappeared. We were playing music for ourselves." (see <ref target="http://mpdl.mpiwg-berlin.mpg.de/music/ramones/ramones_2004.xml#xpointer((id('page6')/tei[1]/text[1]/body[1]/chap[1]/p[1])">page 6, sentence 2</ref>).</p>
     36  * <p>Joey Ramone said: "When we started up in March of ’74, it was because the bands we loved, the rock ’n’ roll that we knew, had disappeared. We were playing music for ourselves." (see <ref target="http://mpdl-proto.mpiwg-berlin.mpg.de/tei/en/ramones_2004.xml#xpointer((id('page6')/tei[1]/text[1]/body[1]/chap[1]/p[1])">page 6, sentence 2</ref>).</p>
    3737* XPointer to a text portion of an element on a page in an XML document. The result of the XPointer URL is the page and the requested text portion of the element is highlighted. Example:
    38   * <p>The Ramones started up in March 1974 (see <ref target="http://mpdl.mpiwg-berlin.mpg.de/music/ramones/ramones_2004.xml#xpointer((id('page6')/tei[1]/text[1]/body[1]/chap[1]/p[1]/s[1]/range(1.22, 1.34))">page 6, sentence 1, character 22 to 32</ref>).</p>
     38  * <p>The Ramones started up in March 1974 (see <ref target="http://mpdl-proto.mpiwg-berlin.mpg.de/tei/en/ramones_2004.xml#xpointer((id('page6')/tei[1]/text[1]/body[1]/chap[1]/p[1]/s[1]/range(1.22, 1.34))">page 6, sentence 1, character 22 to 32</ref>).</p>
    3939
    4040External user annotations of documents are stored relative to document pages by mapping XPointer page points/ranges to an internal identifier as a combination of document identifier, page number, element xpath expression, and a point/range expression. Example:
    41 * before the first sentence on page 6: /music/ramones/ramones_2004.xml, page6, /tei[1]/text[1]/body[1]/chap[1]/p[1]/s[1], point(.0)
    42 * after the first sentence on page 6: /music/ramones/ramones_2004.xml, page6, /tei[1]/text[1]/body[1]/chap[1]/p[1]/s[1], point(.1)
    43 * from character 22 to 34 in the first sentence of page 6: /music/ramones/ramones_2004.xml, page6, /tei[1]/text[1]/body[1]/chap[1]/p[1]/s[1], range(1.22, 1.34)
     41* before the first sentence on page 6: /tei/en/ramones_2004.xml, page6, /tei[1]/text[1]/body[1]/chap[1]/p[1]/s[1], point(.0)
     42* after the first sentence on page 6: /tei/en/ramones_2004.xml, page6, /tei[1]/text[1]/body[1]/chap[1]/p[1]/s[1], point(.1)
     43* from character 22 to 34 in the first sentence of page 6: /tei/en/ramones_2004.xml, page6, /tei[1]/text[1]/body[1]/chap[1]/p[1]/s[1], range(1.22, 1.34)
    4444
    4545=== XLink ===
     
    5252
    5353* document identifier: a persistent identifier of a document
    54   * http://mpdl.mpiwg-berlin.mpg.de/music/ramones/ramones_2004.xml
     54  * http://mpdl-proto.mpiwg-berlin.mpg.de/tei/en/ramones_2004.xml
    5555    * Advantages
    5656      * intuitive
     
    6060    * Disadvantages
    6161      * could be used once more (no id any more)
    62   * http://mpdl.mpiwg-berlin.mpg.de/permanent/library/471122KK
     62  * http://mpdl-proto.mpiwg-berlin.mpg.de/permanent/library/471122KK
    6363    * Advantages
    6464      * persistent id (could be used exactly one time)
     
    6868      * not easy to retrieve
    6969* page number
    70   * http://mpdl.mpiwg-berlin.mpg.de/music/ramones/ramones_2004.xml#xpointer((id('page6'))
     70  * http://mpdl-proto.mpiwg-berlin.mpg.de/tei/en/ramones_2004.xml#xpointer((id('page6'))
    7171    * Advantages
    7272      * compatible to XLink/XPointer
     
    7575    * Disadvantages
    7676      * if in XML document <pb/> elements are inserted or deleted afterwards many old XPointer links are broken
    77   * http://mpdl.mpiwg-berlin.mpg.de/music/ramones/ramones_2004.xml?page=6
     77  * http://mpdl-proto.mpiwg-berlin.mpg.de/tei/de/ramones_2004.xml?page=6
    7878    * Advantages
    7979      * well-nigh compatible to XLink/XPointer
     
    131131=== Selection / Solution ===
    132132* document identifier
    133   * http://mpdl.mpiwg-berlin.mpg.de/music/ramones/ramones_2004.xml
     133  * http://mpdl-proto.mpiwg-berlin.mpg.de/tei/en/ramones_2004.xml
    134134    * Reasons
    135135      * could be mapped to the persistent identifier, intuitive, user friendly, REST like, compatible with XPointer
    136136* page number
    137   * http://mpdl.mpiwg-berlin.mpg.de/music/ramones/ramones_2004.xml#xpointer((id('page6'))
     137  * http://mpdl-proto.mpiwg-berlin.mpg.de/tei/en/ramones_2004.xml#xpointer((id('page6'))
    138138    * Reasons
    139139      * compatible with XPointer
     
    160160    * partly implemented
    161161* XPointer URI's
    162   * implementation of a REST like solution over controller.xql: not implemented yet
     162  * implementation of a REST like URI over controller.xql: partly implemented
    163163    * translation of the XPointer URI
    164164    * highlighting of the requested element or text portion in the element
     
    166166    * in .../interface/page-fragment.xql and .../page-query-result.xql
    167167* TEI URI's
    168   * support URI attributes (e.g. ref(target) ptr(target)) in Echo and TEI elements: not implemented yet
     168  * support URI attributes (e.g. ref(target) ptr(target)) in Echo and TEI elements: implemented
    169169* user objects such as user queries
    170170  * insert/update/delete user objects: dynamic storing of user queries (with user login)