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'


do u have

<xsl:output method="html"/>

and also check that your encoding is correct.

in addition seeing your xslt would help...

hth, jim fuller

----- Original Message -----
From: "Ingo Mittendorf" <Ingo.Mittendorf@btopenworld.com>
To: <XSL-List@lists.mulberrytech.com>
Sent: Friday, November 30, 2001 3:58 PM
Subject: [xsl] Mysterious 'invalid character'


> 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
>
>
>
>
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 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]