On serialization of MEF elements,
arbitrary strings may appear within attribute and text values
(this is unlike reporting w/ XML stream where the strings are guaranteed to be sanitized).
< and & need to be escaped within text and attribute values.
" needs to be escaped only within attribute values.
On serialization of MEF elements, arbitrary strings may appear within attribute and text values (this is unlike reporting w/ XML stream where the strings are guaranteed to be sanitized).
<
and&
need to be escaped within text and attribute values."
needs to be escaped only within attribute values.The fix is likely to result in performance hit.