[ http://issues.apache.org/jira/browse/XALANC-519?page=comments#action_65882 ] David Marston commented on XALANC-519: --------------------------------------
I am using 1.9.0. =========== stylesheet: <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html" encoding="ascii" indent="yes"/> <xsl:template match="/"> <html> <body bgcolor="#FFFFFF"> <xsl:copy-of select="*" /> </body> </html> </xsl:template> </xsl:stylesheet> =========== input: <!-- copy a td with nowrap --> <a><td nowrap="nowrap"></td></a> =========== produces this output: <html> <body bgcolor="#FFFFFF"> <a><td nowrap="nowrap"></td></a> </body> </html> > HTML serialization should reduce "boolean attributes" regardless of how > created > ------------------------------------------------------------------------------- > > Key: XALANC-519 > URL: http://issues.apache.org/jira/browse/XALANC-519 > Project: XalanC > Type: Bug > Components: XalanC > Reporter: David Marston > Priority: Minor > > The situation illustrated in test case attribset17... > <Input Type="checkbox"> > <xsl:attribute name="CHECKED">CHECKED</xsl:attribute> > </Input> > should be emitted as > <Input Type="checkbox" CHECKED> > and there is an output test (34, IIRC) that shows the same thing for LREs. We > don't (yet) have a test for xsl:copy-of, which failed for me on <td nowrap>. > I think one of the XalanC commiters should advise about whether xsl:copy or > xsl:element use-attribute-sets="foo" or any other case is a separate code > path that needs separate testing. > Brian Minchau and Henry Z. think that the set of attributes requiring this > treatment is: checked, compact, declare, defer, disabled, ismap, multiple, > nohref, noresize, noshade, nowrap, readonly, selected. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
