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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.8, 2.1.9, 2.2
    • 2.1.12
    • - Components: Sitemap
    • None
    • Operating System: other
      Platform: Other
    • 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

        1. I18nTransformer.java.diff
          2 kB
          Johannes Textor

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: