Re: Entity references in Attr values

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