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


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: Are entities containing mark-up allowed in attribute values?

[ Lists Home | Date Index | Thread Index ]
  • From: Mike Brown <mbrown@corp.webb.net>
  • To: 'Rob Lugt' <roblugt@bigfoot.com>
  • 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/


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

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