[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Combining float/string to specify value/units

  • From: Steve Rosenberry <steve.rosenberry@v...>
  • To: tpassin@h...
  • Date: Mon, 26 Mar 2001 01:12:21 -0500

float control value


"Thomas B. Passin" wrote:
> 
> If it's a string whose first part looks like a string representation of a
> float, by all means use a RE pattern. 
>

...

> How much information
> one wants to pass to the application about the units and how they should  be
> represented can be hard if full generality is needed.

Thanks, Thomas.  Fortunately, I won't need full generality since this is
intended for an internal application fully under my control.

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.

Is the concept of using primitive datatypes in RE pattern matching
encoding under consideration for future versions of XML Schema?  It
seems inefficient not to be able to reuse all those wonderful built-in
validation rules even if they may only be useful when restricting a
string-based derived datatype.

-- 
Steve Rosenberry
Sr. Partner

Electronic Solutions Company -- For the Home of Integration
http://ElectronicSolutionsCo.com

http://BetterGoBids.com -- The Premier GoTo Bid Management Tool

(610) 670-1710

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.