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

I18nTranformer should consume and stop propagating start/endPrefixMapping of its namespace

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.8, 2.1.9, 2.2
    • Fix Version/s: 2.1.12
    • Component/s: - Components: Sitemap
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: Other
    • Bugzilla Id:
      35348

      Description

      This is a strage bug.
      on http://localhost:8888/samples/i18n/simple.xml around line 183:
        <annotation xmlns:i18n="http://apache.org/cocoon/i18n/2.1">

      This produces wrong xml output (extra xmlns:i18n attribute).

      now if you commented out the annotation element then the xmlns:i18n attribute
      goes to the next element:
       <content xmlns:i18n="http://apache.org/cocoon/i18n/2.1">

      It looks like it goes to the parent element always.

      I wish that I could have more information about how to resolve this.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cheche@apache.org Juan Jose Pablos
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: