[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

illegal xhtml attributes?

Subject: illegal xhtml attributes?
From: "Dominic Tocci" <dominic.tocci@xxxxxxxxxxx>
Date: Fri, 30 Mar 2001 18:39:20 -0500
dominic tocci
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.