RE: "schemana nil-able decimal"

If you use a union of integer and string then <number/> will validate
as the empty string.

All the best, Ashok
===========================================================
Ashok Malhotra              <mailto: ashokma@microsoft.com> 
Microsoft Corporation


-----Original Message-----
From: KRUMPOLEC Martin [mailto:krumpolec@asset.sk] 
Sent: Monday, October 29, 2001 7:59 AM
To: 'xmlschema-dev@w3.org'
Subject: "schemana nil-able decimal"

Hi,

  I fight with pre-XSD schema and try to "model" it with 
  XML schema (to validate it on the fly with parser ) ...

  I have worked around most of problems so far but I'm stuck
  with this weird requirement; single number (xs:integer)
  can be either _empty_ or can have 10 digits ... and I can't
  use xsi:nil in schema instance of course :-)

    <number/>    or    <number>1234567890</number>

  Any ideas ?

Thank you very much

Martin

-- 
Martin Krumpolec <krumpo@pobox.sk>

Received on Monday, 29 October 2001 13:59:08 UTC