[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Accents inside comments


Subject: Re: [xsl] Accents inside comments
From: Mike Brown <mike@xxxxxxxx>
Date: Fri, 16 Feb 2001 13:18:54 -0700 (MST)

Ruben Inoto wrote:
>  When I try to write any of these letters: 'ó', 'ú' or 'ñ' (and maybe
> more I haven't tested) inside a comment in XSL I get a
> SAXParseException: 'An invalid XML character was found in the document'.
> 
>  Is this a problem of the processor I'm using (Xalan 1.2), or are these
> characters simply not allowed (even inside comments)?

They are allowed. Sounds like an encoding problem. Put the XSL somewhere
and point us to it with a URL (don't paste into an email).

Also, it's the XML parser that is generating the exception, not Xalan.
Xalan is probably using Xerces for parsing.

   - Mike
____________________________________________________________________
Mike J. Brown, software engineer at            My XML/XSL resources: 
webb.net in Denver, Colorado, USA              http://skew.org/xml/


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



Current Thread
Keywords