Cocoon 3
  1. Cocoon 3
  2. COCOON3-50

SAXException related to endPrefixMapping in XIncludeTransformer

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha-3
    • Fix Version/s: 3.0.0-alpha-3
    • Component/s: cocoon-sax
    • Labels:
      None

      Description

      An endPrefixMapping('xi') event is sent to the content handler by the XIncludeTransformer without it having previously sent a startPrefixMapping('xi',ns) event resulting in a SAXException.

      Caused by: org.xml.sax.SAXException: Namespace for prefix 'xi' not found.
      at org.apache.cocoon.sax.AbstractSAXTransformer.endPrefixMapping(AbstractSAXTransformer.java:75)
      at org.apache.cocoon.sax.component.XIncludeTransformer.endPrefixMapping(XIncludeTransformer.java:494)
      at org.apache.xerces.parsers.AbstractSAXParser.endNamespaceMapping(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      1. patch.txt
        0.9 kB
        Charles Yates

        Activity

        Hide
        Simone Tripodi added a comment -
        good catch!!! I'll try to apply the patch ASAP, tomorrow if I can.
        Show
        Simone Tripodi added a comment - good catch!!! I'll try to apply the patch ASAP, tomorrow if I can.
        Hide
        Simone Tripodi added a comment -
        Patch applied, thanks Charles! As soon as I'll have the rights on Jira, I'll close this issue.
        Show
        Simone Tripodi added a comment - Patch applied, thanks Charles! As soon as I'll have the rights on Jira, I'll close this issue.
        Hide
        Simone Tripodi added a comment -
        Patch successfully applied, thanks Charles
        Show
        Simone Tripodi added a comment - Patch successfully applied, thanks Charles

          People

          • Assignee:
            Simone Tripodi
            Reporter:
            Charles Yates
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development