W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2001

INDEX_SIZE_ERR from negative offset or count even though unsigned ?

From: Allen, Michael B (RSCH) <Michael_B_Allen@ml.com>
Date: Sun, 15 Jul 2001 21:09:36 -0400
Message-ID: <B27EB33BAB29D2119ABF0001FA7EF289053BF07C@ewfd04.exchange.ml.com>
To: www-dom@w3.org
CharacterData's substringData method throws INDEX_SIZE_ERR if "the specified offset is negative or greater than the number of characters in data, or if the specified count is negative".

How can the offset or count be negative if the're unsigned?

Thanks,
Mike
Received on Sunday, 15 July 2001 21:09:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:49 GMT