W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2001

Re: Entity references in Attr values

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Mon, 17 Dec 2001 13:47:15 -0500
To: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Cc: www-dom@w3.org
Message-ID: <OF22C7FE3B.7AF4E3D6-ON85256B25.0066E77B@pok.ibm.com>

What does the XML spec say the value should be in that case?

Offhand, I think your choices are to either kick the user with an error
message, or drop in an EntityReference node with null content (which
therefore would not affect the attribute's string value), or (if you're
flattening entity references) just drop the EntityReference (least useful),
or some combination of the above. But I'd suggest you recheck the XML
and/or Infoset RECs first to find out whether my memory of how unresolved
entity refs may be handled is accurate.

Joe Kesselman  / IBM Research
Received on Monday, 17 December 2001 13:47:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:09 UTC