Re: Strange Xalan behavior

Subject: Re: Strange Xalan behavior
From: Oliver Becker <obecker@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 7 Aug 2000 13:30:23 +0200 (MET DST)
> when Xalan XSLT parser encounters &nbps symbol (c#160)
> it consider it as an element, instead of text node, and throws SAXException
> with message
> "XSL Error : could not parser Input XML document !"
> "XSL Error : SAXException"
> "The element type XXX must be terminated by end-tag XXX"
> 
> the input xml is valid and it has an end-tag, however the text node is "
> &nbsp" preseneted as c#160 and if I replace it with any other character it
> works perfectly.

Did you probably forget the semicolon ';' ?
-> &nbsp;   
   &#160;
Perhaps the parser is looking for the end of the entity and therefore
skips some end-tags ...

Just a guess.

Cheers,
Oliver


/-------------------------------------------------------------------\
|  ob|do        Dipl.Inf. Oliver Becker                             |
|  --+--        E-Mail: obecker@xxxxxxxxxxxxxxxxxxxxxxx             |
|  op|qo        WWW:    http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread