Forrest
  1. Forrest
  2. FOR-999

processing-instruction nodes in source are not always passed through to html output

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.9
    • Fix Version/s: None
    • Component/s: Core operations
    • Labels:
      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.
      1. embedded_html.html
        5 kB
        David Crossley
      2. index.xml
        2 kB
        David Crossley

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            David Crossley
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development