Re: [xsl] Mysterious 'invalid character'

Subject: Re: [xsl] Mysterious 'invalid character'
From: Jörg Heinicke <joerg.heinicke@xxxxxx>
Date: Fri, 30 Nov 2001 16:10:58 +0100
Can you view the file with IE? What about encoding and German umlauts?


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.

I had a similar problem before, where (after hours) it turned out that the
offending character apparently was the line-feed itself. When I deleted it,
and re-inserted it, everything was suddenly fine.

However, this didn't work this time round. When I delete the line-feed (and
the line-feeds before) I still get the error message and the cursor moves
further up, and up... (and always hovers at the end of the line).

Has anybody encountered the same problem and knows a solution for this
annoying problem?

Ingo Mittendorf


System Development
Fon  +49(0)341-979-7411
Fax  +49(0)341-979-7409

Cocoon-Premiere - Virbus AG setzt bei ShoppingMall-Plattform "Lofex"
auf neueste XML-basierende Technologie

XSL-List info and archive:

Current Thread