This document contains a list of issues regarding the DOM Level 3 Validation specification Candidate Recommendation period. All comments or issues regarding the specification or this document must be reported to www-dom@w3.org (public archives) before 31 August, 2003.
As of 3 December 2003, this issues list is now closed.
Color key: error warning note
Id: Title | State | Type | Ack. |
---|---|---|---|
curt-1 : values for NodeEditVAL.VAL_TRUE, VAL_FALSE, VAL_UNKNOWN | declined | proposal | Agreement |
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.
While Curt has a point, this change happens late at the end of the Candidate Recommendation phase. We decided not to do the requested change.
Last update: $Date: 2003/12/04 03:17:54 $