- 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>
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"
xmlns:NGraph="http://www.mentor.com/icx/NGraph"
targetNamespace="http://www.mentor.com/icx/NGraph"
elementFormDefault="qualified">
<element name="exampleList" type="NGraph:exampleListType"/>
<complexType name="exampleListType">
<sequence>
<element name="doubleList" type="NGraph:doubleListType"/>
<element name="intList" type="NGraph:intListType"/>
<element name="stringList" type="NGraph:stringListType"/>
</sequence>
</complexType>
<simpleType name="doubleListType">
<restriction>
<simpleType>
<list itemType="double"/>
</simpleType><length value="5"/></restriction>
</simpleType>
<simpleType name="intListType">
<restriction>
<simpleType>
<list itemType="integer"/>
</simpleType><length value="5"/></restriction>
</simpleType>
<simpleType name="stringListType">
<restriction>
<simpleType>
<list itemType="string"/>
</simpleType><length value="5"/></restriction>
</simpleType>
</schema>
ht
[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