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

source that declares namespace fails JXPath/Linkrewriter/Input Modules

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 2.2
    • None
    • - Components: Sitemap
    • None
    • Operating System: other
      Platform: Other
    • 36810

    Description

      At Apache Forrest we use the wonderful Cocoon Linkrewriter block. When we
      upgrade from commons-jxpath-20030909.jar to commons-jxpath-1.2.jar then we get
      failures with the linkrewriter protocols "site:" etc.

      This issue can also be demonstrated as broken in the current Cocoon trunk
      samples for Linkrewriter. Make the following change to
      src/blocks/linkrewriter/trunk/samples/sitedemo/linkmap.xml and then note that
      the sample shows the links in their unresolved form.

      ------
      -<site href="">
      +<site href="" xmlns="http://apache.org/cocoon/linkmap/1.0">
      ------

      Not sure whether it is due to an incomplete implementation in the Linkrewriter
      or something to do with the Cocoon input modules or both.

      There is more discussion about the issue at Forrest
      http://issues.apache.org/jira/browse/FOR-675

      There is a relevant note about the namespaces at
      http://jakarta.apache.org/commons/jxpath/release-notes-1.2.html

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: