forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Crossley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FOR-878) XHTML as source input documents
Date Wed, 10 May 2006 02:45:04 GMT
    [ http://issues.apache.org/jira/browse/FOR-878?page=comments#action_12378808 ] 

David Crossley commented on FOR-878:
------------------------------------

There is various discussion in the mail archives about xhtml input. At the current time, when
there is no corresponding *.xml source, Forrrest will look for a *.html source. It treats
it as "html" (and uses Cocoon's HTML Generator) rather than "xhtml" which would require Cocoon's
XML Generator.

> XHTML as source input documents
> -------------------------------
>
>          Key: FOR-878
>          URL: http://issues.apache.org/jira/browse/FOR-878
>      Project: Forrest
>         Type: Bug

>   Components: Core operations
>     Versions: 0.7, 0.8-dev
>     Reporter: Andrea Mattioli
>  Attachments: testXHTML_namespace.html
>
> If the namespace xmlns="http://www.w3.org/1999/xhtml" is present after the tag "html"
like in this case
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
> ...
> Forrest produces an empty body.
> If you remove xmlns="http://www.w3.org/1999/xhtml" it works.
> ---------------------------------------------------------
> In site.xml
> <test label="Test">
> 	  <page label="Namespace Test" href="testXHTML_namespace.html" description="Namespace
test"/>
>   </test>
> ---------------------------------------------------------
> Best regards,
> Andrea.

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