[ http://issues.apache.org/jira/browse/XALANJ-2121?page=comments#action_65699 ] David Marston commented on XALANJ-2121: ---------------------------------------
Two more pieces of information from Brian: 1. We may be doing the right thing for some element/attribute combinations but not others, which implies that the test cases need to cover all combinations. The attributes compact, noresize, noshade, and nowrap are always bad, and readonly is sometimes bad. 2. Brian wanted a note to review any code that could be tripped up by slightly different ways to check that the attribute or element names are not namespace-qualified. (e.g., null vs. "" to denote no namespace) > Need correct HTML serialization of special attributes, even with copy-of > ------------------------------------------------------------------------ > > Key: XALANJ-2121 > URL: http://issues.apache.org/jira/browse/XALANJ-2121 > Project: XalanJ2 > Type: Bug > Components: Serialization > 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 Brian Minchau will 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. > Notice that in the example above, we also should emit the element as an > empty/unclosed element, in addition to reducing the CHECKED attribute. > Brian M. 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. > Also revisit XALANJ-296, which is about XSLTC. -- 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]
