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

  • 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...>

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

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