basicaly i want to set this XSD up so that it ALLOWS null values.. and
doesnt through me any stupid constriant errors..
How can i set a default on a datetime field?
<xs:sequence>
<xs:element name="id" msdata:ReadOnly="false" msdata:AutoIncrement="false"
type="xs:int" />
<xs:element name="body" type="xs:string" minOccurs="0" codegen:nullValue=""
/>
<xs:element name="active" type="xs:boolean" codegen:nullValue="0"
default="0" />
<xs:element name="approved" type="xs:boolean" codegen:nullValue="0"
default="0" />
<xs:element name="approved_by" type="xs:int" codegen:nullValue="0"
default="0" />
<xs:element name="approved_date" type="xs:string" minOccurs="0"
codegen:nullValue="1980-01-01T00:00:00" />
<xs:element name="create_date" type="xs:string" minOccurs="0" />
<xs:element name="create_by" type="xs:int" minOccurs="0"
codegen:nullValue="0" default="0" />
<xs:element name="update_date" type="xs:string" minOccurs="0" />
<xs:element name="update_by" type="xs:int" minOccurs="0"
codegen:nullValue="0" default="0" />
<xs:element name="creator" type="xs:string" minOccurs="0"
codegen:nullValue="" default="" />
<xs:element name="approver" type="xs:string" minOccurs="0"
codegen:nullValue="" default="" />
<xs:element name="updator" type="xs:string" minOccurs="0"
codegen:nullValue="" default="" />
</xs:sequence>