Re: Illegal characters in xml output
- From: Brendan Murphy <bmurphy@xxxxxxxxxxxxxxxxxxxxx>
- To: ftcdev@xxxxxxxxxxxxx
- Date: Mon, 24 Nov 2008 12:09:19 -0600
Seth Verrinder wrote:
If text in the FTC contains characters that are illegal in XML, such
as a form feed (ascii code 12), getXml includes those characters.
The result is a malformed document that can't be read by setXml. I
can filter these characters out if the text is loaded from a file,
but a user can always paste them directly into the FTC.
I do filtering of input into the FTC, I think I need to extend the
reach of the filtering to include non-visible characters such as
linefeed.
FTC Website:
http://www.truenorthsoftware.com/FormattedTextControl/FormattedTextControl.html
Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev
List Archive: www.freelists.org/archives/ftcdev
Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in
the subject field.
Other related posts: