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

Re: Non-schema approach to web service design: comments?

  • To: bryan rasmussen <rasmussen.bryan@g...>
  • Subject: Re: Non-schema approach to web service design: comments?
  • From: Tech Rams <techmailing@y...>
  • Date: Fri, 28 Oct 2005 16:37:06 -0700 (PDT)
  • Cc: xml-dev@l..., Michael Champion <michaelc.champion@g...>
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=jGDd+d8oG6IecFjecrUxuQbPLefy6HXHYkw+tu8pXjU0z5Lp5jgaDM7qN+FwxTReN+RcldoihXAjer9zhZeecVr1E2I5EKcy7dtv7LxUiv8P1yVE6Lt+0e6/ZUy9+qB1PRLmamForr7F5TZ+FUd3UAgH8LVQd2rprk5O+xgG7NQ= ;
  • In-reply-to: <3bb44c6e0510281400i183cf1d2yce1d30b171af5f1f@m...>

Re:  Non-schema approach to web service design: comments?
What I meant was something like
<xs:attribute name="Type" fixed="URI_FOR_YOUR_ALGO" />


--- bryan rasmussen <rasmussen.bryan@g...> wrote:

> > But thinking a little further, I think even
> functional
> > constraints can be embedded in the XSD - for
> example,
> > you state that you expect a specific attribute to
> have
> > a specific value on the element you want to put
> this
> > constraint on. In such design, the attribute value
> can
> > be a URI that stands for the particular algorithm
> -
> > like checksum. The party creating the data then
> > understands that URI and accordingly generates the
> > data.
> I'm not exactly sure if I follow your suggestion, if
> you had an example...
> at any rate what I was trying to describe was the
> need to do
> validation of the content of an attribute dependent
> on the value of
> another attribute on the same element. The kind of
> context dependent
> validation that schematron excels at.
> 
>
-----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org
> <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at
> http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the
> subscription
> manager:
> <http://www.oasis-open.org/mlmanage/index.php>
> 
> 



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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.