Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: "Costello, Roger L." <costello@-----.--->
To: "'xml-dev@-----.---.---'" <-------@-----.---.--->
Date: 6/3/2009 11:32:00 PM
Hi Folks,

I'd like for us to nail down exactly what we mean by "descriptive markup" and "algorithmic markup." Here's a stab at it:


1. XML documents just contain markup and data. There are no semantics in XML documents. An XML document is just syntax.

 
2. A software application can be written to perform specific, repeatable actions when it encounters markup in an XML instance document. Stated differently, applications can be written to add a layer of semantics on top of the XML syntax.


3. When creating an XML vocabulary, it is common practice to write prose that specifies semantics for the XML vocabulary. Then software applications can be written to implement the semantics specified by the prose.


4. Sometimes the prose just assigns a definition to each element and attribute in the XML vocabulary. Software applications that implement these semantics "understands" the XML vocabulary. These applications don't execute any actions when given an XML instance document, beyond simply informing itself. For these applications the markup is purely informational or descriptive. 

    For applications faithful to the semantics 
    specified by the prose, the XML vocabulary 
    is descriptive markup.


5. Sometimes the prose associates actions to each element and attribute in the XML vocabulary. Software applications that implement these semantics will execute the actions when given an XML instance document. For these applications the markup represents instructions or prescriptions. 

    For applications faithful to the semantics 
    specified by the prose, the XML vocabulary 
    is algorithmic markup.


I'm sure that these can be expressed more clearly. I welcome your suggestions.

/Roger


_______________________________________________________________________

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