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

Re: Defining an XML vocabulary: specify syntax, semantics, and

  • From: "bryan rasmussen" <rasmussen.bryan@g...>
  • To: "Costello, Roger L." <costello@m...>
  • Date: Wed, 9 Apr 2008 21:50:16 +0200

Re:  Defining an XML vocabulary: specify syntax
>  QUESTIONS
>
>  1. When defining an XML vocabulary, should behavioral information
>  always be specified?
no.
>
>  2. Does it make sense to define an XML vocabulary without specifying
>  behavioral information?
yes
>  3. Are there two categories of XML vocabularies:
>
>  (a) XML vocabularies with behavioral instructions
>  (b) XML vocabularies without behavioral instructions
>
yes. Although I think vocabularies without behavioral instructions are
vocabularies that would normally be understood as purely data
specifying in nature.

>  As shown above, XSLT, XML Schema, and XHTML are XML vocabularies that
>  fall in the first category.
>
>  Consider a "Book XML vocabulary."  Here's a sample document that
>  illustrates the Book XML vocabulary:
>
>  <?xml version="1.0"?>
>  <Book>
>     <Title>The Wisdom of Crowds</Title>
>     <Author>James Surowiecki</Author>
>     <Date>2005</Date>
>     <ISBN>0-385-72170-6</ISBN>
>     <Publisher>Anchor Books</Publisher>
>  </Book>
>
>  Suppose I write a specification for this XML vocabulary.  For each
>  element I specify its contents and the intended usage.  But suppose
>  that I don't instruct application developers on the (default and/or
>  mandatory) behavior of each element.  How will I certify that the
>  application is compliant?


Because the general purpose of a Book vocabulary in all the examples
I've seen is in the holding of book specific data. There are of course
real world Book specifying vocabularies that are concerned with how a
'book' must behave, the behavior being specific to a particular type
of media.

Cheers,
Bryan Rasmussen


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.