[F&O] fn:local-name-from-QName should be renamed local-part-from-QName

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