Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Scope of namespaces

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Michael Kay <mike AT saxonica.com>
  • Cc: 'xom-interest' <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Scope of namespaces
  • Date: Mon, 06 Feb 2006 05:31:39 -0500

Michael Kay wrote:

I have come across XML vocabularies in which the presence of a namespace
declaration for a particular URI carries semantics - such as telling you
which version of the spec the document conforms to - irrespective of the
fact that the prefix bound to that URI is never used within the document,
either in element or attribute names or in content.

I can't say I like that idea. However, if it became common (or at least not uncommon) I could probably be convinced to add a method to support it, isURIInScope or some such; but I think I'll wait till someone actually needs it. :-)

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




Archive powered by MHonArc 2.6.24.

Top of Page