The values assigned for VAL_TRUE, VAL_FALSE and VAL_UNKNOWN appear to just follow the sequence established by VAL_WF, VAL_NS_WF, VAL_INCOMPLETE and VAL_SCHEMA (1, 2, 3, 4). In scripting languages where the symbolic constants are not available, that would lead to code like: if (node.canInsertBefore(node1, node2) == 6) which isn't obvious. It would be beneficial to change the values so that, at least, VAL_FALSE is 0. I'd recommend, VAL_FALSE = 0, VAL_TRUE = 1 and VAL_UNKNOWN = 2.Received on Wednesday, 3 December 2003 01:46:23 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 3 May 2007 00:17:16 GMT