OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Defining Value Ranges

[ Lists Home | Date Index | Thread Index ]
  • From: Bob Kline <bkline@rksystems.com>
  • To: Chris Adamantidis <chris.adamantidis@bridgewatersystems.com>
  • Date: Mon, 10 Jul 2000 11:14:12 -0400 (EDT)

On Mon, 10 Jul 2000, Chris Adamantidis wrote:

> I'm having a problem in defining a range of values which are
> acceptable in a DTD.  For instance, I want a value to be acceptable
> if it's between 1 and 65535 (unsigned 16 bit integer) I tried
> [1-65535] but that's not it.  Anyone have any ideas?

You can't do that with a DTD, which is one of the reasons XML-Schema [1]
was developed.

[1] http://www.w3.org/TR/xmlschema-0/

Bob Kline

This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS