This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Mysterious 'invalid character'
- From: Peter Flynn <peter at silmaril dot ie>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Sun, 02 Dec 2001 23:12:11 +0000
- Subject: Re: [xsl] Mysterious 'invalid character'
- Organization: Silmaril Consultants
- References: <000001c179b8$013553e0$a496fea9@ling.cam.ac.uk>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Ingo Mittendorf wrote:
> I'm mystified by a problem that arises when I want to generate HTML from XML
> with XMLSpy (with the MSXML parser).
>
> The relevant file *is* well-formed, apparently, and XMLSpy's Browser View
> (direct display of the XML file) works absolutely fine. However, when I want
> to generate 'true' HTML, I get this error message:
>
> This file is not well-formed.
> An invalid character was found in text content.
>
> The cursor is at the end of a line. No invalid character there that I would
> be aware of.
Two things come immediately to mind:
a. use a show-it-all plaintext editor to examine the file (eg one
that is guaranteed not to hide characters. Emacs is your friend :-)
b. check that it's not an MS-DOS style end-of-file (^Z) character
or some similar piece of crud.
///Peter
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list