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]

Reply via email to