W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2014

[Bug 22258] Provide function for easy matching of HTML and DITA class attributes

From: <bugzilla@jessica.w3.org>
Date: Mon, 28 Apr 2014 17:02:54 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-22258-523-wp12QkBQzm@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22258

--- Comment #3 from Jirka Kosek <jirka@kosek.cz> ---
> We've generally turned down requests for convenience functions that can be
> expressed as a one-liner unless there's a very strong case.

Yes, user-defined function is an option and such approach is completely
reasonable, but only in the context of XSLT or XQuery. XPath is often used
standalone for querying document -- for example simple queries run over DOM API
in application, using XPath search box in XML editor. This is probably only
thing for which CSS Selectors are more convenient than XPath and I would like
to keep XPath to be the best query language for HTML documents. This makes this
function sort of special and for me this is a good enough reason to have such
function directly available in the language.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 28 April 2014 17:02:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:46 UTC