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

RE: What is declarative XML? (And what's not)

  • From: "Michael Kay" <mike@saxonica.com>
  • To: "'Costello, Roger L.'" <costello@mitre.org>,<xml-dev@l...>
  • Date: Wed, 3 Jun 2009 00:23:34 +0100

RE:  What is declarative XML? (And what's not)
> Alan Danziger wrote:
> 
> > Passive documents specify information but do not specify in-band or 
> > out-of-band anything about how that information should be used.
> 
> > Active documents contains in-band or out-of-band processing 
> rules for 
> > its use.
> 
> Ah ha!
> 
> So there are discernable differences in XML documents.

No, that doesn't follow. If the information is out-of-band, then it's not
discernable and is not a difference in the document, it's a difference in
the way it is used.
> 
> Assertion: declarativity is a quality that is good and 
> desirable and should be maximized.
> 
> Assertion: passivity is a quality that is good and desirable 
> and should be maximized.
> 
> Assertion: by measuring its declarativity and passivity we 
> can assess the goodness of an XML document. 
> 
> Assertion: the goodness of an XML document is a function of 
> its declarativity and passivity.
> 

I think you're completely off target here. It all depends what the document
is for. If you're trying to say that a document containing an instruction to
move $1000 from account A to account B is bad because it's active and
procedural, then I would say that's nonsense. Or at any rate, I would say
"why is it bad?".

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 






[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-2007 All Rights Reserved.