- From: Per Bothner <per@bothner.com>
- Date: Wed, 22 Dec 2004 18:43:06 -0800
- To: public-qt-comments@w3.org
I noticed some incompatibility between the name "local-name" and the JAXP (Java) method names getLocalPart vs getLocalName. The F&O method local-name-from-QName corresponds to the JAXP methods QName.getLocalPart. I think the phrase "local-part" is more precise, since it doesn't make sense to get the "local name" of a name - you get the local *part* of a name. Plus of course it's nice to have consistency between the XQuery API and the Java API. The fn:local-name corresponds to the DOM method getLocalName. That makes sense: the local name of a node is the local part of the QName of a node. -- --Per Bothner per@bothner.com http://per.bothner.com/
Received on Thursday, 23 December 2004 02:45:14 UTC