- From: <bugzilla@jessica.w3.org>
- Date: Wed, 21 Apr 2010 15:07:28 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9571 Summary: There is no zero-arity node-name() function Product: XPath / XQuery / XSLT Version: Candidate Recommendation Platform: PC OS/Version: Windows NT Status: NEW Severity: normal Priority: P2 Component: Functions and Operators 1.1 AssignedTo: mike@saxonica.com ReportedBy: mike@saxonica.com QAContact: public-qt-comments@w3.org The node-name() function is anomalous. Other functions that return a property of a node, for example base-uri(), name(), local-name(), namespace-uri(), generate-id(), string() have a zero-arity form that takes the context item as the implicit first argument. Some other functions that do this: number(), string-length(), normalize-space(). node-name() might be expected to follow this pattern, but doesn't. Similarly, though perhaps with less usability impact, document-uri() and data(). We ought to be consistent. -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Wednesday, 21 April 2010 15:07:48 UTC