[
https://issues.apache.org/jira/browse/FOR-999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Crossley updated FOR-999:
-------------------------------
Attachment: embedded_html.html
index.xml
> processing-instruction nodes in source are not always passed through to html
> output
> -----------------------------------------------------------------------------------
>
> Key: FOR-999
> URL: https://issues.apache.org/jira/browse/FOR-999
> Project: Forrest
> Issue Type: Bug
> Components: Core operations
> Affects Versions: 0.9-dev
> Reporter: David Crossley
> Attachments: embedded_html.html, index.xml
>
>
> The handling of xml processing instructions is inconsistent.
> Sometimes there is a need to have processing instructions being passed
> through to the html output (e.g. php). The two attachments demonstrate - add
> the files to a trunk 'forrest seed-sample' at samples/index.xml and
> samples/embedded_html.html
> localhost:8888/samples/index.html
> only the source PIs from the document/body and children are passed through
> okay, while those from prolog, document, and document/header elements are
> discarded.
> localhost:8888/samples/index.xml
> all source PIs are present in the intermediate xml.
> localhost:8888/samples/embedded_html.html
> all source PIs are discarded.
> localhost:8888/samples/embedded_html.xml
> all source PIs are discarded in the intermediate xml.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.