OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Annotations in XPath-NG? (Re: [xml-dev] XPath/XSLT 2.0 con

[ Lists Home | Date Index | Thread Index ]

> ------=_NextPart_000_0019_01C26EF1.4662A9C0
> Content-Type: text/plain;
> 	charset="us-ascii"
> Content-Transfer-Encoding: 7bit
> 
> Our annotation nodes are elements in a separate document or documents.
> These have an href attribute that points to what is being annotated.
> 
> The HREF uses a restricted XPointer syntax:
> 	URL#xpath(LocationPath)
> Where xpath() is a simplified XPointer scheme that supports just XPath
> LocationPath expressions.
> 
> Our annotations are very nearly [and designed that way] simple XLinks.
> 
> My real issue about context is the selection of documents [linkbases] to use
> when searching for third-party links.  If I have a given document, and can
> get to its linkbases [by getting some metadata stored with the document],
> then I can find the annotations that I want.
> 
> I'm thinking of just standardizing on XLink in general for annotations.
> Then, I can somewhere declare the roles [and arcroles] that I want to
> reverse index [possibly collection level metadata].  So then, if I add a
> document to a collection, and that document contains links with the given
> roles, I would locate the nodes referred to in the @xlink:href of the
> element to find the nodes, and reverse index them.  If the links fail to
> execute, then I fail to add it to the collection, and report an error back
> to the caller.  Importing a link element should also trigger indexing on the
> element and its attributes, in this system, since the identification of a
> link in a document implies that there is a high likely hood of its
> attributes being needed [at least in the system I'm working on].

It seems to me you have very particular needs that I think would be better 
solved in a separate layer such as XLinks or RDF rather than direct infoset 
augmentations.


-- 
Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
Python&XML column: 2. Introducing PyXML - http://www.xml.com/pub/a/2002/09/25/p
y.html
The Past, Present and Future of Web Services 1 - http://www.webservices.org/ind
ex.php/article/articleview/663/1/24/
The Past, Present and Future of Web Services 2 - 'http://www.webservices.org/in
dex.php/article/articleview/679/1/24/
Serenity through markup - http://adtmag.com/article.asp?id=6807
Tip: Using generators for XML processing - http://www-106.ibm.com/developerwork
s/xml/library/x-tipgenr.html






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS