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

Re: Data binding as type definition

explain type
At 03:33 PM 6/11/2002 -0400, John Cowan wrote:
>I don't think "well-defined lexical space" can be taken to be synonymous
>with "common lexical representation", though I don't quite understand
>what Simon means by "common".  A legitimate, though perhaps not very
>useful, type would be "footype": {"foo", 32, 64, 79.9, "hike!"}, with
>the obvious lexical representation {"foo", "32", "64", "79.9", "hike!"}.
>But I don't know if Simon thinks this list of lexical representations
>are "common".

I don't believe I'd find the parts of foo to have any commonality, much 
less "common"-ness.  I guess an enumeration or a regex with lots of OR in 
it for the content could define some, but I prefer commonality to be a 
pattern that emerges from the information.

More generally, I suspect general processing of types on a lexical 
foundation has to rely on some kind of commonality among the lexical content.

Regular expressions are pretty good at describing a wide variety of lexical 
commonalities.  If you're willing to spend more time in regular 
expressions, you can of course extend understandings of commonalities, 
especially if you're willing to apply multiple successive regexes rather 
than insisting on a single match or split.  Some kind of formal description 
can be helpful, of course.

I'll be trying to explain this in more detail as I move deeper into Regular 
Fragmentations.  RegFrag is pretty much an excercise in explicit casting 
through processing, which is my preferred approach.

Simon St.Laurent
"Every day in every way I'm getting better and better." - Emile Coue


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.
First Name
Last Name
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.