W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2001

RE: How to use list?

From: Falk, Alexander <al@altova.com>
Date: Tue, 9 Jan 2001 16:22:12 +0100
Message-ID: <0FED160BABE4D311AD2E0050DA465785155CCE@medusa.icon.at>
To: Kerry Coffin <kcoffin@mediaone.net>
Cc: www-xml-schema-comments@w3.org, "'ht@cogsci.ed.ac.uk'" <ht@cogsci.ed.ac.uk>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:49 GMT