W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2000

Re: [Moderator Action] Lists in Schema

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 02 Dec 2000 11:39:56 +0000
To: "Kollu, Kishore" <kishore_kollu@mentorg.com>
Cc: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Message-ID: <f5bsno7t5kj.fsf@cogsci.ed.ac.uk>
With the following forward-converted schema and elementFormDefault set
properly, XSV [1] is happy.  I suggest you try this with the new
version of XML Spy.

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE schema
  PUBLIC "-//W3C//DTD XMLSCHEMA 200010//EN" "http://www.w3.org/2000/10/XMLSchema.dtd">
<schema xmlns="http://www.w3.org/2000/10/XMLSchema"
<element name="exampleList" type="NGraph:exampleListType"/>
<complexType name="exampleListType">
   <element name="doubleList" type="NGraph:doubleListType"/>
<element name="intList" type="NGraph:intListType"/>
<element name="stringList" type="NGraph:stringListType"/>
<simpleType name="doubleListType">
    <list itemType="double"/>
  </simpleType><length value="5"/></restriction>
<simpleType name="intListType">
    <list itemType="integer"/>
  </simpleType><length value="5"/></restriction>
<simpleType name="stringListType">
    <list itemType="string"/>
  </simpleType><length value="5"/></restriction>


[1] http://www.w3.org/2000/09/webdata/xsv
  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 Saturday, 2 December 2000 06:40:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:48 UTC