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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Parameterizing namespaces - possible?

[ Lists Home | Date Index | Thread Index ]
  • From: Vilya Harvey <vilya.harvey@oxford.qss.co.uk>
  • To: "Christopher R. Maden" <crism@exemplary.net>, xml-dev@xml.org
  • Date: Mon, 17 Apr 2000 15:13:18 +0100

At 05:55 AM 4/17/00 +0000, Christopher R. Maden wrote:
>On 4/16/00, 5:09:28 PM, Tim Bray <tbray@textuality.com> wrote regarding
>Re: Parameterizing namespaces - possible?:
> > No... what you have above should work.  If you read the fine print the
> > extra spaces don't apply when it's in the replacement text of another
> > entity reference.  So %html.name; indeed expands to "html:html"
>That's what I thought, until Simon challenged me on it.  I couldn't
>find the wording in the XML Rec that made that legal.  I'm certain
>that it's there; this rule has been an article of faith for several
>years now.  [Wow... XML for "several years".]  Can you point me to the
>appropriate section of the Rec, please?

Section 4.4.5 is the one. It says:

"When an entity reference appears in an attribute value, or a parameter 
entity reference appears in a literal entity value ..."

The key point is that a parameter entity reference in a literal entity 
value is not treated as a "Reference in DTD" (to use the names from section 
4.4 of the spec), but rather as a "Reference in Entity Value".

Hope that helps,

This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/


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

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