Changes between Version 3 and Version 4 of schema/xpointer


Ignore:
Timestamp:
Feb 21, 2011, 3:02:50 PM (13 years ago)
Author:
jwillenborg
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • schema/xpointer

    v3 v4  
    3535
    3636=== Support of XLink ===
    37 XLink will be supported in all elements of the Echo and TEI Lite schema in the near future.
     37XLink will be supported in all elements of the Echo and TEI Lite schema (in the near future).
    3838
    3939=== Support of XPointer ===
    4040
    41 The MPDL project sets a special focus on the presentation of document pages. An important requirement for MPDL-XPointers is the support of pointers relative to document pages. Another special requirement is to point not only to elements on a page but also to text portions in elements (point or range). XPointer could be used in all URI's especially those provided by XLink. The MPDL project supports the following subset of XPointer in the near future:
     41The MPDL project sets a special focus on the presentation of document pages. An important requirement for MPDL-XPointers is the support of pointers relative to document pages. Another special requirement is to point not only to elements on a page but also to text portions in elements (point or range). XPointer could be used in all URI's especially those provided by XLink. The MPDL project supports the following subset of XPointer (in the near future):
    4242
    4343* XPointer to a page in an XML document. Example:
    4444  * <p>... (see <note xlink:href="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</note>)
     45  * 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)
    4546* XPointer to an element on a page in an XML document. Example:
    4647  * <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 <note xlink:href="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</note>).</p>
     
    4950
    5051External 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:
    51 * before the first sentence on page 6: /music/ramones/ramones_2004.xml (or /permanent/library/471122KK), page6, /tei[1]/text[1]/body[1]/chap[1]/p[1]/s[1], point(.0)
    52 * after the first sentence on page 6: /music/ramones/ramones_2004.xml (or /permanent/library/471122KK), page6, /tei[1]/text[1]/body[1]/chap[1]/p[1]/s[1], point(.1)
    53 * from character 22 to 34 in the first sentence of page 6: /music/ramones/ramones_2004.xml (or /permanent/library/471122KK), page6, /tei[1]/text[1]/body[1]/chap[1]/p[1]/s[1], range(1.22, 1.34)
     52* 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)
     53* 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)
     54* 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)
    5455
    5556==== Discussion ====
     
    133134==== Selection / Solution ====
    134135* document identifier
    135   * http://mpdl.mpiwg-berlin.mpg.de/permanent/library/471122KK
     136  * http://mpdl.mpiwg-berlin.mpg.de/music/ramones/ramones_2004.xml
     137    * Reasons
     138      * could be mapped to the persistent identifier, intuitive, user friendly, REST like, compatible with XPointer
    136139* page number
    137140  * http://mpdl.mpiwg-berlin.mpg.de/music/ramones/ramones_2004.xml#xpointer((id('page6'))
     141    * Reasons
     142      * compatible with XPointer
    138143* element identifier (choice between these 2 best possible solution)
    139   * xpath expression: /tei[1]/text[1]/body[1]/chap[3]/p[1]/s[2]
    140   * special id attribute in XML document: <s xmlNodeId="47114711">...</s>
     144  * xpath expression: /tei[1]/text[1]/body[1]/chap[3]/p[1]/s[2]
     145    * Reasons
     146      * no modification of the original document is done, intuitive, compatible with XPointer, dynamically generation, implementation is already mostly done
     147      * an automatic repair mechanism for broken links to inside elements after document updates: no one would expect such a difficult solution for that and is also not needed normally
     148      * the broken link is sent to the older version of the document if a versioning system is running or an error message is given that the document has changed
    141149* point/range expression
    142150  * point(.0) or range(1.22, 1.34)
    143 
    144 
     151    * Reasons
     152      * compatible with XPointer, only this alternative