Uploaded image for project: 'Forrest (Retired)'
  1. Forrest (Retired)
  2. FOR-999

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.9
    • None
    • Core operations
    • 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.

      Attachments

        1. index.xml
          2 kB
          David Crossley
        2. embedded_html.html
          5 kB
          David Crossley

        Activity

          People

            Unassigned Unassigned
            crossley David Crossley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: