XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] 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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS