[Henry, this is mostly a question for you.] The XML Schema datatype spec says [1]: <quote> 3.2.2 boolean [Definition:] boolean has the *value space* required to support the mathematical concept of binary-valued logic: {true, false}. 3.2.2.1 Lexical representation An instance of a datatype that is defined as *boolean* can have the following legal literals {true, false, 1, 0}. </quote> So I gather the allowable values in a document instance for something of type boolean are one of the four strings true, false, 1, 0. Correct? The datatype dtd for schemas [2] has: <!ENTITY % boolean "(true|false)"> Shouldn't the DTD include 0 and 1? paul [1] http://www.w3.org/TR/xmlschema-2/#boolean [2] http://www.w3.org/2001/datatypes.dtdReceived on Tuesday, 23 August 2005 15:43:57 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:33 GMT