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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Expanded names are not enough

[ Lists Home | Date Index | Thread Index ]
  • From: Chris Maden <crism@oreilly.com>
  • To: xml-dev@ic.ac.uk
  • Date: Thu, 6 Aug 1998 15:40:29 -0400 (EDT)

[John Cowan]
> The parser can export an API for converting QNames to
> UniversalNames, which allows you to make the match.  The real
> problem is more serious: as long as the same prefix can map to
> different namespaces in different part of the document, stylesheets
> that depend on prefixed names don't work.  If a document maps the
> "foo" prefix to multiple namespaces, then in CSS1, if you have a
> rule:
> 	foo:p {indent 1em}
> just which foo:p is that?  It has to be both, eliminating the whole
> utility of the local prefix.

Not true.  In this context, foo:p has some universal name (URI + local
name), depending on the namespace map in effect when the CSS style
rules appeared or were included.  This style rule applies to any
element with the same universal name, whatever prefix was used to get

<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>

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


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

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