comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Experiences of XML parser generators for Ada?
Date: 10 Dec 2004 22:09:02 +0000
Date: 2004-12-10T22:09:02+00:00	[thread overview]
Message-ID: <x7vbrd17qm9.fsf@smaug.pushface.org> (raw)
In-Reply-To: 41b79025$0$1333$636a15ce@news.free.fr

Lionel Draghi <Lionel.nospam.Draghi@Ada-France.org> writes:

> Yes, but
> 
>     type Money is range 1 .. 10;
> 
> becomes
> 
>     name="TN" type="xsd:int"
> 
> in WSDL. The range is lost.

I'm not familiar with this part of XML Schema, but it looks as though
you could say

<xsd:simpleType name="money">
  <xsd:restriction base="positiveInteger">
    <xsd:minInclusive value="1"/>
    <xsd:maxInclusive value="10"/>
  </xsd:restriction>
</xsd:simpleType>

(if you had the time to spare!)

-- 
Simon Wright                               100% Ada, no bugs.



  parent reply	other threads:[~2004-12-10 22:09 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-04 20:37 Experiences of XML parser generators for Ada? Robert C. Leif
2004-12-04 22:53 ` Adrien Plisson
2004-12-08 23:37   ` Lionel Draghi
2004-12-09 12:29     ` Georg Bauhaus
2004-12-09 21:04       ` Lionel Draghi
2004-12-09 21:09     ` Lionel Draghi
2004-12-10 22:09     ` Simon Wright [this message]
2004-12-11  0:02       ` Lionel Draghi
2004-12-11  9:03         ` Pascal Obry
     [not found] <20041203110026.6F40B4C408A@lovelace.ada-france.org>
2004-12-03 23:18 ` Robert C. Leif
2004-12-07 19:41   ` Björn Persson
  -- strict thread matches above, loose matches on Subject: below --
2004-12-02 21:04 Daniel W
2004-12-02 22:19 ` Georg Bauhaus
2004-12-03  8:57 ` Martin Krischik
2004-12-03  9:16   ` Adrien Plisson
2004-12-03 20:42     ` Daniel W
2004-12-03 23:33       ` Adrien Plisson
2004-12-04  8:05         ` Dmitry A. Kazakov
2004-12-04 11:40           ` Marius Amado Alves
2004-12-04 13:14             ` Martin Krischik
2004-12-05 16:27               ` Jeffrey Carter
2004-12-05 17:58                 ` Dmitry A. Kazakov
2004-12-04 13:59             ` Georg Bauhaus
2004-12-05  8:47               ` Martin Krischik
2004-12-06 11:18                 ` Georg Bauhaus
2004-12-06 18:12                 ` Pascal Obry
2004-12-13 20:34                   ` Florian Weimer
2004-12-05  1:50             ` David Botton
2004-12-04 14:01           ` Georg Bauhaus
2004-12-04 16:27             ` Dmitry A. Kazakov
2004-12-06  5:59         ` Daniel W
2004-12-06 14:48         ` Marc A. Criley
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox