This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
illegal xhtml attributes?
- To: <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl] illegal xhtml attributes?
- From: "Dominic Tocci" <dominic dot tocci at econovo dot com>
- Date: Fri, 30 Mar 2001 18:39:20 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
Vendor: IBM
Processor version: Lotus I think. (bsf.jar, bsfengines.jar, lotusxsl.jar,
xalan.jar, xerces.jar)
Hi,
I'm perplexed. I have xml code which includes some xhtml code. When I try
to perform an xslt transformation on it, I get the following warning:
XSL Warning: Illegal attribute name: alt
the xml code looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<xbutton>
<image height="22" width="45" alt="Reset">images/gray.gif</image>
<clear/>
</xbutton>
What's strange is that there is no adverse effect on my output, and the
error message tends to be intermittent. For example, this code does not
generate the same warning:
<?xml version="1.0" encoding="UTF-8"?>
<xbutton>
<image height="22" width="45" alt="Reset">images/gray.gif</image>
</xbutton>
There is no "alt" anywhere in my xsl file. I also get this other warning
from time to time when transforming xhtml code:
XSL Warning: Illegal attribute name: class
So, I am wondering...
A) why this is happening?
B) are there any negative effects?
C) how can i avoid this error short of not using the "alt" and "class" html
attributes?
Thank you,
Dominic Tocci
PS - (I apologize if this message was sent twice)
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list