Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: Nicholas Sushkin <nsushkin@-----------.--->
To: "Costello, Roger L." <costello@-----.--->, "Michael Kay"
Date: 6/4/2009 7:51:00 PM
On Wednesday 03 June 2009 19:31, Costello, Roger L. wrote:

> I'd like for us to nail down exactly what we mean by "descriptive markup"
> and "algorithmic markup."

On Thursday 04 June 2009 03:06, Michael Kay wrote:

> Why, what do you hope to achieve?


I thought the whole point of trying to separate the two types of markup was 
to figure out which kind of markup allows limited computing power necessary 
to deduce its meaning. 

To make a decision based on a descriptive markup, you don't need to 
implement a Turing machine who noone knows when it will stop. So, 
descriptive markup is the markup whose meaning can be deduced in a bound 
finite time. To make a decision based on algorithmic markup, you would have 
to execute the algorithm. 

The same markup can be descriptive or algorithmic based on what decision 
you're trying to make. Imagine an XSLT stylesheet. If you want to figure 
out whether the stylesheet takes a parameter named "starting_date", the 
markup is descriptive because you can figure out the answer with a simple 
XPath expression you know is bound to produce the answer in a finite time. 
If you want to figure out the result the stylesheet, the XSLT markup is 
algorithmic. You'd have to build and run the actual XSLT processor to 
figure it out. 

http://en.wikipedia.org/wiki/Undecidable_problem

ps. Just my take on the discussion
-- 
Nicholas Sushkin, Senior Software Engineer
http://www.openfinance.com http://www.wealthinformationexchange.com


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