[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: My proposal: Implicit namespaces

  • From: "John L. Clark" <jlc6@po.cwru.edu>
  • To: XML Developers List <xml-dev@lists.xml.org>
  • Date: Thu, 6 Aug 2009 15:33:17 -0400

Re:  My proposal: Implicit namespaces
On Thu, Aug 6, 2009 at 11:11 AM, Liam Quin <liam@w3.org> 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.