Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-1073

[PATCH] BetwixtTransformer output twice the startDocument. Fix.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.4
    • None
    • Blocks: (Undefined)
    • None
    • Operating System: All
      Platform: All
    • 27456

    Description

      When trying to use the BetwixtTransformer you obtain the following results:

      - If the serializer that ends the pipeline is <map:serialize type="xml"/>.
      We get :

      <?xml version="1.0" encoding="ISO-8859-1" ?>
        <page xmlns:xsp="http://apache.org/xsp" >
        <example xmlns:betwixt="http://apache.org/cocoon/betwixt/1.0">
         <?xml version="1.0" encoding="ISO-8859-1" ?>
      ....

      - If the serializer that ends the pipeline is <map:serialize/>.
      We get:

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
      "http://www.w3.org/TR/html4/loose.dtd">
      <page xmlns:xsp="http://apache.org/xsp">
      <example xmlns:betwixt="http://apache.org/cocoon/betwixt/1.0">
             <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
      "http://www.w3.org/TR/html4/loose.dtd">
      ...

      In any case. It's wrong. We get twice what should appear at the start of the
      document.

      see thread: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=107676749217407&w=2

      Attachments

        Activity

          People

            Unassigned Unassigned
            oscpro@yahoo.com Oscar Picasso
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: