Version 2.0 of the Canonical Text Services protocol will generalize the protocol's definition to accommodate any valid XML, using only the defined citation scheme to retrieve documents and document fragments. As far as possible, CTS 2.0 will be designed to be upward compatible with version 1.2.
The following changes to the TextInventory structure are proposed:
validate element as a model for indicating how to
validate a CTS document.
n attribute of div
elements of type "book", and a second element was encoded on
n attributes of l elements, we might map
the citation as:
<citation label="scroll" xpath="/TEI.2/text/body//div[@type = 'book']/@n="?">
<citation label="line" xpath="/TEI.2/text/body//div[@type='book']//l/@n="?"/>
</citation>
The following changes to the requests of CTS 1.2 are proposed:
GetTEIHeader deprecated as of CTS 2.0 (to be
made obsolete in a future version of CTS); it should be replaced
with GetDocumentMetadata, a generic request returning
metadata in the Dublin Core namespace.
GetValidReff should be modified to allow an optional
parameter limiting the request to a section of the document.
This parameter should be an XPath expression defining a section of the
document according to the syntax defined in the document's TextInventory
for the document's citation scheme.
A request to get second-level valid references for book 1 of the Iliad
might include parameters
level=1
xpath=/TEI.2/text/body//div[@type='book' and @n = '1']