This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
invalid character was found in text content
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] invalid character was found in text content
- From: "Melvyn Rosengarden" <melrose at rochester dot rr dot com>
- Date: Tue, 11 Sep 2001 20:03:18 -0400
- Cc: <mike at skew dot org>, <mhkay at iclway dot co dot uk>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Network BlitzI am reading an ASCII text created on a mainframe and
converting it to XML.
The file header I create indicates ISO-8859-1 encoding. When I attempt to
parse
my XML file with the MS SAX interface I get the following error;
"invalid character was found in text content". When it first occured I
discovered that an
embedded Hex 1E character was the culprit so my parsing routine "swallowed"
that
character. A few days later the problem reoccured and the culprit was a Hex
05 character.
I do NOT want to be surprised again tomorrow. Is there a comprehensive list
of invalid
characters for the ISO-8859-1 encoding scheme that I could use to create the
necessary
pre-process filter ??
Thanks very much !
Never be afraid to try something new.
Remember that amateurs built the ark.
Professionals built the Titanic.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list