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

RE: maps

  • To: "Kohsuke Kawaguchi" <kk@k...>
  • Subject: RE: maps
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Tue, 6 Aug 2002 08:42:10 -0700
  • Cc: "J. David Eisenberg" <catcode@c...>,"Simon St.Laurent" <simonstl@s...>,<xml-dev@l...>
  • Thread-index: AcI9Xej94GtUpUjqSqGRLHmF3WVFJQAAUgDk
  • Thread-topic: maps

kawaguchi maps
So basically I can write code for how to validate a datatype which plugs into the validator depending on whether the validator is designed in such a modular manner and knows where to look for my code? 
 
So for some cases, it isn't as bad as having to hack the validator yourself but it's still doesn't interoperate very well. 

	-----Original Message----- 
	From: Kohsuke Kawaguchi [mailto:kk@k...] 
	Sent: Tue 8/6/2002 8:28 AM 
	To: Dare Obasanjo 
	Cc: J. David Eisenberg; Simon St.Laurent; xml-dev@l... 
	Subject: Re: maps
	
	


	> How does RELAX NG provide a mechanism for specifying operations on these
	> datatypes? It would be easy enough to specify the lexical form of
	> longitudes and latitudes then place them in a publically accessible XSD
	> file but it would be useless since there would be no language for
	> specifying value space relationships in the schema.
	
	Each datatype can define a set of "parameters." So a datatype can define
	range facets by itself, then it can just reject anything that falls out
	of that range. Everything is up to datatypes.
	
	
	> For instance how would one specify what the semantics of maxInclusive,
	> minExclusive, maxExclusive, minInclusive, etc should be?
	
	See attached zip file for an example. This "hex" datatype validates
	hexadecimal digits, and it comes with the "max" and "min" facets which
	allow you to restrict a range.
	
	
	regards,
	----------------------
	Kohsuke Kawaguchi
	E-Mail: kk@k...
	


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.