Uploaded image for project: 'Cocoon 3 (Retired)'
  1. Cocoon 3 (Retired)
  2. COCOON3-50

SAXException related to endPrefixMapping in XIncludeTransformer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-3
    • 3.0.0-alpha-3
    • cocoon-sax
    • 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)

      Attachments

        1. patch.txt
          0.9 kB
          Charles Yates

        Activity

          People

            simone.tripodi Simone Tripodi
            ceyates Charles Yates
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: