[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?
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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|