W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2010

[Bug 8862] 0 as a value for number-rows-spanned, or all?

From: <bugzilla@wiggum.w3.org>
Date: Wed, 31 Mar 2010 18:23:46 +0000
To: xsl-editors@w3.org
Message-Id: <E1Nx2Zu-0005HY-W7@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=8862


Edward Jiang <ejiang@att.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ejiang@att.net




--- Comment #2 from Edward Jiang <ejiang@att.net>  2010-03-31 18:23:46 ---
This is a hard call.

I would recommend to support "0" only, although I agree that "all" is more
intuitive, but it introduces datatype inconsistency. Therefore, it would
potentially force some implementations to rewrite their current logic when they
parse the value of ""number-rows-spanned" and "number-columns-spanned".

E.g., an old Java implementation naively uses Integer.parseInt() to convert the
string to an integer, and ignore any value that's littler than 1. "0" would
still work, but "all" will cause this java statement to throw a
NumberFormatException, and it may not catch the exception yet in its
implementation.


-- 
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, 31 March 2010 18:23:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 31 March 2010 18:23:53 GMT