You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Ross Gardler (JIRA)" <ji...@apache.org> on 2005/10/21 01:04:44 UTC

[jira] Created: (FOR-713) HTML-to-document.xsl no longer generates an XDoc

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


[jira] Commented: (FOR-713) HTML-to-document.xsl no longer generates an XDoc

Posted by "Gavin (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-713?page=comments#action_12371890 ] 

Gavin commented on FOR-713:
---------------------------

Was wondering if any conversions have been missed (remember the name changes of '2' to '-to-' - html2document becomes html-to-document, and now with lm: should this be html.document) , perhaps references to html2document still exist in the processing, they do certainly in the docs, I will patch the docs.


> 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


[jira] Commented: (FOR-713) HTML-to-document.xsl no longer generates an XDoc

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Closed: (FOR-713) HTML-to-document.xsl no longer generates an XDoc

Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-713?page=all ]
     
Ross Gardler closed FOR-713:
----------------------------

    Resolution: Cannot Reproduce

Hmmmm.....

I created this issue, but the sample in fresh-site does not illustrate the problem that I describe.

I guess that I was working with a specific HTML document and I can't find it again. Closing this issue since I am unable to reproduce and therefore to fix.

I'm sure it will reappear at some point in the future if it really is a problem.

> 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


[jira] Updated: (FOR-713) HTML-to-document.xsl no longer generates an XDoc

Posted by "Tim Williams (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-713?page=all ]

Tim Williams updated FOR-713:
-----------------------------

    Component: Core operations

> 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