I'd expect entities to cease to exist when the XML document is parsed, not when 
it is serialized and saved. There's no easy way to implement this, short of 
keeping information about entity references in the parse tree, which is 
expensive; the effort required is spent better elsewhere.

kind regards
Peter Ring

> -----Original Message-----
> From: xmleditor-support-bounces at xmlmind.com
> [mailto:xmleditor-support-bounces at xmlmind.com]On Behalf Of Jens
> Stavnstrup
> Sent: 27. oktober 2005 14:37
> To: xmleditor-support at xmlmind.com
> Subject: [XXE] Keep entity references
> 
> 
> Here is a proposal for a feature in the editor.
> 
> The editor should not replace entity references with the corresponding
> content when saving a document.
> 
> Regards,
> 
> Jens
> 
> --------------------------------------------------------------
> ----------
> Jens Stavnstrup                            Phone :
> Danish Defence Research Establishment         Voice : + 45 - 
> 39 15 17 97
> Ryvangs Alle 1 - P.O. Box 2715                Fax   : + 45 - 
> 39 29 15 33
> DK - 2100 Copenhagen O.                    E-Mail (Internet) :
> Denmark                                       js at ddre.dk
>                                            Jabber/XMPP:
>                                               stavnstrup at jabber.org
> --------------------------------------------------------------
> ----------
> 
> 
> 
>  
> --
> XMLmind XML Editor Support List
> xmleditor-support at xmlmind.com
> http://www.xmlmind.com/mailman/listinfo/xmleditor-support
> 

Reply via email to