On Fri, 25 Aug 2006, David Crossley (JIRA) wrote: > [ http://issues.apache.org/jira/browse/FOR-448?page=all ] > > David Crossley closed FOR-448. > ------------------------------ > > Fix Version/s: 0.8-dev > Resolution: Fixed > > Thanks for your help Jim. I fixed it in a different way. The html4 > specification does talk about @name and @href being okay as simultaneous > attributes. Also i don't know why this template was removing other > attributes such as @title and @target which some people want to use. So > i simply used "xsl:copy-of" to copy all the attributes.
I did a spot-check using a randomly selected attribute and found to my surprise that it actually got through, so this was the correct solution. The bad template that was used in html-to-document.xsl also appears in forrest/main/webapp/resources/stylesheets/any-to-document.xsl forrest/etc/test-whitespace/html2document.xsl and so the same fix needs to be applied to both. This is now FOR-923. -- Jim Dixon [EMAIL PROTECTED] tel +44 117 982 0786 mobile +44 797 373 7881