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

        Charles Yates created issue -
        Charles Yates made changes -
        Field Original Value New Value
        Attachment patch.txt [ 12431793 ]
        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.
        Simone Tripodi made changes -
        Assignee Cocoon Developers Team [ cocoon ] Simone Tripodi [ simone.tripodi ]
        Hide
        Simone Tripodi added a comment -
        Patch successfully applied, thanks Charles
        Show
        Simone Tripodi added a comment - Patch successfully applied, thanks Charles
        Simone Tripodi made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 3.0.0-alpha-3 [ 12314181 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        19h 29m 1 Simone Tripodi 30/Jan/10 14:08

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development