XML Semantics (was Re: Handling unknown elements?)

David Megginson ak117 at freenet.carleton.ca
Fri Apr 17 15:41:22 BST 1998


Peter Murray-Rust writes:

 > (2) There is no universal generic mechanism for adding semantics to
 > an XML document.

Peter is correct; however, there do exist two mechanisms for
associating parts of an XML document whose semantics are not known
with things whose semantics are (or might be) known.

The namespaces proposal from the W3C XML working group allows
globalisation of element type names and attribute names: that means
that it is possible to know that an element named "p" in one document
type and an element named "p" in another document type share the same
name intentionally.  Any further implications are currently undefined.

Architectural forms, which are an ISO standard, take this idea even
further: with architectural forms, an application can determine that
an element type named "para" in one document type is related to (or
"derived from") an element type named "p" in another document type,
and may make processing assumptions based on the 'a-kind-of'
relationship.


All the best,


David

-- 
David Megginson                 ak117 at freenet.carleton.ca
Microstar Software Ltd.         dmeggins at microstar.com
      http://home.sprynet.com/sprynet/dmeggins/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list