W3C home > Mailing lists > Public > public-sml@w3.org > July 2007

RE: SML shouldn't reference xpointer

From: Grosso, Paul <pgrosso@ptc.com>
Date: Tue, 24 Jul 2007 10:52:40 -0400
Message-ID: <CF83BAA719FD2C439D25CBB1C9D1D302082AB771@HQ-MAIL4.ptcnet.ptc.com>
To: "John Arwe" <johnarwe@us.ibm.com>
Cc: <public-sml@w3.org>
Neither xpath1 nor xpath2 are W3C schemes.  So while you can use them,
you should realize you are using schemes that are not backed by a W3C
Recommendation.
 
If you are going to address single elements, I would suggest the
element() scheme unless it is simply not possible to reference the
desired element using its tree location.
 
I realize that you cannot reference the root element using the element()
scheme. Ordinarily, the URI with no fragment identifier is considered to
reference the root element of an XML document.
 
If after taking everything into account, you need an xpath-like access
mechanism, it would be preferable to use xpath1 over xpointer.  You'll
need to decide how to limit the use of xpath (or reinterpret its
results) if you always want the result to be treated as a single
element. 
 
paul
 


________________________________

	From: John Arwe [mailto:johnarwe@us.ibm.com] 
	Sent: Friday, 2007 July 20 10:43
	To: Grosso, Paul
	Cc: public-sml@w3.org
	Subject: Re: SML shouldn't reference xpointer
	
	

	Paul, given that SML's usage of xpointer was exclusively to
address single elements using xpath expressions, do you think
http://www.w3.org/2005/04/xpointer-schemes/xpath1 and/or its xpath2
equivalent would be likely replacements? 
	
	Best Regards, John
	
	Street address: 2455 South Road, Poughkeepsie, NY USA 12601
	Voice: 1+845-435-9470      Fax: 1+845-432-9787 
	
	
	
"Grosso, Paul" <pgrosso@ptc.com> 
Sent by: public-sml-request@w3.org 

07/18/2007 12:28 PM 

To
<public-sml@w3.org> 
cc
Subject
SML shouldn't reference xpointer

	




	
	The XML Core WG just noticed that the latest (editor's)
	draft of SML 1.1 at
	
http://dev.w3.org/cvsweb/~checkout~/2007/xml/sml/build/sml.html?content-
	type=text/html;%20charset=utf-8
	has a normative reference to "XPointer xpointer() Scheme"
	http://www.w3.org/TR/xptr-xpointer/
	
	It should be noted that this is a (non-last call)
	Working Draft from 2002 on which no work is planned.
	In fact, the xpointer() scheme failed CR, and was
	withdrawn as a W3C work item.
	
	You should not plan to reference the xpointer() scheme
	in your specification.
	
	paul
	
	Paul Grosso for the XML Core WG
	
	
	
Received on Tuesday, 24 July 2007 14:54:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:56:04 UTC