- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 19 Jan 2001 12:11:26 +0000
- To: francis@redrice.com
- Cc: xmlSchema-dev <xmlschema-dev@w3.org>
Francis Norton <francis@redrice.com> writes: > --- > C:\customers\iExml>type date.* > > date.xsd > > > <?xml version="1.0" encoding="UTF-8"?> > <xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" > elementFormDefault="qualified"> > <xsd:element name="DoB" type="xsd:date"> > <xsd:annotation> > <xsd:documentation>Date of > Birth</xsd:documentation> > </xsd:annotation> > </xsd:element> > </xsd:schema> > > date.xml > > > <?xml version="1.0" encoding="UTF-8"?> > <DoB xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" > xsi:noNamespaceSchemaLocation="date.xsd"/> > > C:\customers\iExml> > --- > > xsv (current standalone) reports that date.xml is valid, whereas XMLspy > 3.5 beta 4 rejects it unless there is a date in there. XMLSpy is correct. As the XSV homepage [1] records, XSV does not do much in the way of simple type validation. > I ahve found documentation for the xsi:nullable attribute but cannot > find any explicit discussion of this issue. Which is correct, please? [1] http://www.ltg.ed.ac.uk/~ht/xsv-status.html -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh W3C Fellow 1999--2001, part-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/
Received on Friday, 19 January 2001 07:11:29 UTC