Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] My proposal: Implicit namespaces

From: "John L. Clark" <jlc6@--.----.--->
To: XML Developers List <xml-dev@-----.---.--->
Date: 8/6/2009 7:34:00 PM
On Thu, Aug 6, 2009 at 11:11 AM, Liam Quin <liam@w...> wrote:
> You only need to list those elements that can occur embedded in another
> vocabulary, plus the top-level element.  For example, a list item might
> not make sense without a containing list.  So, a docbook list would
> automatically introduce the docbook namespace for all the elements it
> contained (until you got down to ones that implied some other
> namespace, such as "svg" perhaps).

I think it would be useful, in other contexts as well, to have a list
of elements from a particular vocabulary that the vocabulary's
designer baptizes as making sense to embed within another vocabulary.
(Specifically, such an element E in vocabulary N could be called a
boundary element, and a document D would be boundary-valid iff for
every element E', if the parent of E' is in a different vocabulary,
then E' is a boundary element.)  This provides a sort of light weight
validation for compound documents.  It also might be semantically
interesting to see how elements fall into the two different coarse
categories.

Of course, this assumes that elements have consistent local semantics
wherever they're found in a vocabulary, but this is not necessarily
the case.  For example, you could have a 'warning' element that has
different weight in different contexts.  Perhaps such
context-sensitive elements are always non-boundary elements, though.

Take care,

    John L. Clark

_______________________________________________________________________

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