Re: [xsl] Mysterious 'invalid character'

Subject: Re: [xsl] Mysterious 'invalid character'
From: Peter Flynn <peter@xxxxxxxxxxx>
Date: Sun, 02 Dec 2001 23:12:11 +0000
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.


XSL-List info and archive:

Current Thread