RE: How to use list?

Yes, this is a known bug in XML Spy 3.5b3 (and earlier versions) and will be
fixed in 3.5b4 (available soon).

Alexander

... Alexander Falk
... President, CEO
... Altova, Inc. - The XML Spy Company

=========================================================================
XML Spy 3.0  -  the first true Integrated Development Environment for XML
Visit http://www.xmlspy.com/ to download a free 30-day evaluation version
=========================================================================

-----Original Message-----
From: ht@cogsci.ed.ac.uk [mailto:ht@cogsci.ed.ac.uk]
Sent: Tuesday, January 09, 2001 15:26
To: Kerry Coffin
Cc: www-xml-schema-comments@w3.org
Subject: Re: How to use list?

Kerry Coffin <kcoffin@mediaone.net> writes:

> Hi,
> I have a question about lists:
> 
> My schema:  testList.xsd
> ----------------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
> elementFormDefault="qualified">
>  <xsd:simpleType name="IntegerListType">
>   <xsd:list itemType="xsd:positiveInteger"/>
>  </xsd:simpleType>
>  <xsd:element name="IntList" type="IntegerListType"/>
> </xsd:schema>
> 
> My xml file: XML SPY V3.5B3 does NOT validate
> -------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <IntList xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
> xsi:noNamespaceSchemaLocation="C:\ArcIMS\AXL\testList.xsd">5 5</IntList>
> 
> XML Spy says:
> Invalid value for datatype positiveInteger in element 'Text'

XSV [1] is happy, and I believe your document is schema valid per the
schema -- I think we've seen this problem with XML Spy before. . .

ht

[1] http://www.w3.org/2000/09/webdata/xsv

Received on Tuesday, 9 January 2001 10:22:24 UTC