This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Mysterious 'invalid character'


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]