W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2016

[Bug 29825] New: [FO31] (editorial) Strange underlined link of mandatory calculation in 4.2.5

From: <bugzilla@jessica.w3.org>
Date: Thu, 15 Sep 2016 19:19:29 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29825-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29825

            Bug ID: 29825
           Summary: [FO31] (editorial) Strange underlined link of
                    mandatory calculation in 4.2.5
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: editorial
          Priority: P2
         Component: Functions and Operators 3.1
          Assignee: mike@saxonica.com
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

The formula used for calculating idiv is hard to read because it is fully
underlined and linked to the fn:abs function. There are more functions in this
calculation, it seems odd to link it to fn:abs, or to link it at all. 

I suggest to either link the individual functions, or to remove the link
entirely.

The hyperlinked text in 4.2.5 is: 

fn:abs($N * $arg2) le fn:abs($arg1) and fn:compare($N * $arg2, 0) eq
fn:compare($arg1, 0).

As an aside, I think writing it out is (arguably) more readable:

fn:abs($N * $arg2) le fn:abs($arg1) 
and 
fn:compare($N * $arg2, 0) eq fn:compare($arg1, 0)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 15 September 2016 19:19:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:02 UTC