W3C home > Mailing lists > Public > public-change@w3.org > March 2013

RE: XPath to identify a point in an XML document (Was: A sort of synthesis)

From: Dennis E. Hamilton <dennis.hamilton@acm.org>
Date: Tue, 12 Mar 2013 09:43:46 -0700
To: "'Claudius Teodorescu'" <claudius.teodorescu@gmail.com>
Cc: <public-change@w3.org>
Message-ID: <007701ce1f40$c4c7a7b0$4e56f710$@acm.org>
All right!

I love the name and I admire the ambition of the project.

At the 40,000-foot level (i.e., your index page), I can see some great integrations with signatures and also encryption.  

 - Dennis

PS: This could help solve problems with plaintext password hashes lying around in XML documents too. And other cases. You've got my attention.

-----Original Message-----
From: Claudius Teodorescu [mailto:claudius.teodorescu@gmail.com] 
Sent: Tuesday, March 12, 2013 01:22
To: Dennis Hamilton
Cc: liam@w3.org; Casey Jordan; public-change@w3.org
Subject: Re: XPath to identify a point in an XML document (Was: A sort of synthesis)

Hi,


I am thinking about an EXPath module with function(s) about text content ranges (among others), to solve the problem of pointing for the changes of the text content.


I can help with editing/maintaining it, as I am currently doing this for some other EXPath modules [1].



Claudius

[1] http://extxsltforms.sourceforge.net/expath-specs/index.html





On Tue, Mar 12, 2013 at 5:24 AM, Dennis E. Hamilton <dennis.hamilton@acm.org> wrote:
<http://lists.w3.org/Archives/Public/public-change/2013Mar/0014.html>


	@Liam,
	
	Yes, all of those things can be done with XPath unadorned.  But being able to inspect or even match or substring a text item in a formula is not the same as directing a path into the node that holds the text.  Ditto for pointing into the values of attributes, something that can be relevant for the kind of lengthy attribute values that store spreadsheet cell formulas, for example.  I should perhaps been more emphatic about "find a path."
	
	I did wonder about those wonderful manipulations on the types of values in nodes, but I couldn't reconcile that with setting a path except for search-condition predicates.  I think those just help filter us to an intended node (and avoiding unintended ones).  Getting to that last inch, extending the path into the text (or attribute value) node itself, seems to require augmentation of some kind.
	
	I'm fine with that.  If there's some way that plain XPath can cross that gap, I'm very interested.  And I'm not disturbed by the need to augment XPath, since there is need for other augmentation anyhow.
	
	 - Dennis
	
[ ... ]
Received on Tuesday, 12 March 2013 16:44:21 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 12 March 2013 16:44:22 GMT