OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] more QName madness

[ Lists Home | Date Index | Thread Index ]

On Thu, Nov 14, 2002 at 09:28:49AM -0500, John Cowan wrote:
> Paul Prescod scripsit:
> 
> > I home I'm missing something: if I have ten XPointers in a document and 
> > they each use 3 namespaces, do I necessarily have 30 xmlns declarations?
> 
> No, you have 3 uses of the xmlns() scheme in each of your ten XPointers.
> The xmlns declarations in the embedding document are irrelevant; after all,
> that document need not be XML at all: it could be plain text, HTML, PDF, or
> hard copy.

  You clearly need the xmlns() scheme for those case where the context
cannot provide the namespace binding. However when the reference is done
from an XML document, the option of inheriting the binding from the context
(like for XPath uses in XSLT) could have been allowed, avoiding that
redundancy.
  But it's not related to the new scheme namespacing mechanism that Simon
was pointing out, the absence of inheritance has been there for years 
(well nearly 2 years).

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS