Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.9
-
None
-
None
Description
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.
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.