conflicting answers

Arjun Ray aray at q2.net
Thu Nov 6 17:22:53 GMT 1997



On Wed, 5 Nov 1997, Tim Bray wrote:

> At 10:03 AM 06/11/97 +1300, Scott Cooper wrote:
> 
> >suggesting parameter entity references aren't expanded within the
> >default string in an attdef(?). good, bad and/or ugly? 
> 
> Wrong.  They are supposed to be expanded. -T.

Really? It's not that way in SGML. Clause 11.3.4 "Default Value" (p. 424-5
in the Handbook) has this 

[147] default value =
        ( ( RNI,
            "FIXED",
             ps+ ) ?,
          attribute value specification ) |
          ...

which basically means that a string literal for the a.v.s will not be
replaceble parameter data.

FWIW, nsgmls doesn't expand PEs here either.


Arjun



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




More information about the Xml-dev mailing list