forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Scherler (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FOR-713) HTML-to-document.xsl no longer generates an XDoc
Date Wed, 10 May 2006 21:44:06 GMT
    [ http://issues.apache.org/jira/browse/FOR-713?page=comments#action_12378978 ] 

Thorsten Scherler commented on FOR-713:
---------------------------------------

We made the same observation in 
http://marc.theaimsgroup.com/?t=114522908600001&r=1&w=2
where we identified the style tag that as well get passed through.

The solution should not be that hard, one have to add a match like
<xsl:template match="@*|*|text()|processing-instruction()|comment()"/>

I suspect that we still need to add heaps other matches to recuperate some elements that we
still want support.

> HTML-to-document.xsl no longer generates an XDoc
> ------------------------------------------------
>
>          Key: FOR-713
>          URL: http://issues.apache.org/jira/browse/FOR-713
>      Project: Forrest
>         Type: Bug

>   Components: Core operations
>     Reporter: Ross Gardler
>     Priority: Blocker
>      Fix For: 0.8-dev

>
> html-to-document.xsl no longer converts content to an XDoc. Instead it renders converts
documents to XDoc, instead it allows H1, H2 etc. elements to pass through.
> The result is a page that seems to render correctly and in the single test case I have
used it still renders correctly in PDF and Text format. However, this is a backward incompatible
change that will break sites that use includes with XPath statements such as /section[@id="foo"]
(sections are no longer created)

-- 
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


Mime
View raw message