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]

SystemId Unknown?


I am receiving the following error from one of my transformations:

SystemId Unknown; Line 271; Column 40; class has an illegal attribute: {1}
SystemId Unknown; Line 268; Column 40; class has an illegal attribute: {1}

The XSLT at these lines is as follows:


[...]
<xsl:for-each select="Record">
	<tr>
		<xsl:for-each select="Data">
			<xsl:choose>
				<xsl:when
test="((count(../preceding-sibling::Record) mod 2) != 0)">
<!-- line 268 -->			<xsl:attribute
name="class">rowEven</xsl:attribute>
				</xsl:when>
				<xsl:otherwise>
<!-- line 271 -->			<xsl:attribute
name="class">rowOdd</xsl:attribute>
				</xsl:otherwise>
			</xsl:choose>
[...]

I cannot for the life of me figure out why I am receiving these errors.
Similar code in a different stylesheet works flawlessly.  The errors are not
fatal, the transformation completes and the output is exactly what I desire,
however, the endless stream of errors in the Weblogic console are becoming
burdensome.  Any advice on how to avoid this error is greatly appreciated!

-dhs


Dean H. Saxe
Senior Software Engineer
Magnet Communications
Dean.Saxe@magnetbanking.com 
404.592.8515

CONFIDENTIALITY NOTICE:
This message and any attachment is solely for the use of the individual or
entity to which this message is addressed and contains information that is
confidential. If the reader of this message is not the intended recipient,
you are hereby notified that any review, retransmission, disclosure,
copying, distribution or the taking of any action in reliance on the
contents of this communication by persons or entities other than the
intended recipient is strictly prohibited. If you have received this email
in error, please contact the sender and delete the material from any
computer.



 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]