|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Parameterizing namespaces - possible?
At 05:55 AM 4/17/00 +0000, Christopher R. Maden wrote: >On 4/16/00, 5:09:28 PM, Tim Bray <tbray@t...> 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, Vil. *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








