Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xml-dev] What is declarative XML? (And what's not)

From: "Michael Kay" <mike@--------.--->
To: "'Costello, Roger L.'" <costello@-----.--->, <xml-dev@-----.---.--->
Date: 6/2/2009 11:24:00 PM
> 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 





_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent