You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "David Crossley (JIRA)" <ji...@apache.org> on 2006/08/25 08:41:03 UTC

[jira] Closed: (FOR-772) INvalid HTML as source causes unexpected behaviour

     [ http://issues.apache.org/jira/browse/FOR-772?page=all ]

David Crossley closed FOR-772.
------------------------------

    Resolution: Cannot Reproduce

I tried to reproduce this issue with forrest trunk and such html errors seem to get properly corrected with JTidy. It might well be present in the previous forrest-0.7 

> INvalid HTML as source causes unexpected behaviour
> --------------------------------------------------
>
>                 Key: FOR-772
>                 URL: http://issues.apache.org/jira/browse/FOR-772
>             Project: Forrest
>          Issue Type: Bug
>          Components: Core operations
>    Affects Versions: 0.7
>            Reporter: Leo Simons
>             Fix For: 0.8-dev
>
>
> Reported via user list:
> Using HTML as a source:
> > I manage to cut out one '>' too much. The page still manages to render. There
> > is no error message, and...I'll be damned...the entire title line is gone,
> > even when I "view source".
> I guess this is a problem of using HTML as the source and would not occur if you were using XDoc. 
> We use JTidy to preprocess the HTML (we must have valid XML to work with). I guess JTidy is just removing the invalid content. Can we configure JTidy to fail if such an error exists.
> Does such an error get spotted during the validation stage of a "forrest site" command (execute directly with "forrest validate")

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