[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Thomas B. Passin" <tpassin@h...>
  • To: xml-dev@l...
  • Date: Mon, 26 Mar 2001 08:39:17 -0500

Steve Rosenberry asked -
>
>
> As for the RE pattern, any ideas where I can find one already defined
> for a float number?  Despite my previous assertion of an application
> fully under my control, I'd like to make sure my patterns match the
> official XML Schema functionality as much as possible including the INF,
> NaN, and the exponential notations.

Look in the Schema Datatypes  Proposed Rec at

http://www.w3.org/TR/xmlschema-2/#float

Especially, find the link for "patterns" in this part:

3.2.4.3 Constraining facets
float has the following constraining facets:

pattern
enumeration
whiteSpace
maxInclusive
maxExclusive
minInclusive
minExclusive

Start by hitting the "pattern" link and you will be led to the RE notation
they use.  It's expressed in BN form.

Cheers,

Tom P


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member