[Home] [By Thread] [By Date] [Recent Entries]

  • From: Mike Brown <mbrown@c...>
  • To: 'Rob Lugt' <roblugt@b...>
  • Date: Wed, 27 Sep 2000 16:18:22 -0600

Rob Lugt wrote:
> Are entities containing mark-up allowed in attribute values? 

By my reading of the spec, if the entity is internal, parsed and general,
yes. The replacement text must be well-formed. Such attribute values can
still break the well-formedness of the document if the replacement text
contains, for example, a quote that could be confused for the closing quote
around the attribute value.

XML Rec sections 4.3.2, 4.4 (the table is helpful) and 4.4.5 are relevant.

   - Mike
____________________________________________________________________
Mike J. Brown, software engineer at         My XML/XSL resources:
webb.net in Denver, Colorado, USA           http://www.skew.org/xml/

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member