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

ESQL compilation error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.1.8
    • 2.1.9
    • Blocks: Databases
    • None

    Description

      In the Cocoon 2.1.7 version the sent file mis_referencias.xsp compiled and run correctly.


      org.apache.cocoon.components.language.LanguageException: Error compiling mis_referencias_xsp:
      ERROR 1 (org\apache\cocoon\www\file_\c_\Des\Proy\SigPortal\web\portal\xsp\mis_referencias_xsp.java):
      ...
      );
      _xspAttr.clear();
      // start error (lines 687-687) "xspAttr cannot be resolved"
      this._esql_printObject(_esql_struct[_esql_k],xspAttr);
      // end error
      this.contentHandler.endElement(
      "",
      "sql-row-item",

      ...
      ERROR 2 (org\apache\cocoon\www\file_\c_\Des\Proy\SigPortal\web\portal\xsp\mis_referencias_xsp.java):
      ...
      // postgres is broken as it doesn't allow getObject()
      // to retrieve any type (i.e. bit and bit varying)
      // so don't handle complex types different for postgres
      if (!_esql_connection.getURL().startsWith("jdbc:postgresql:")) {

      // start error (lines 713-713) "xspAttr cannot be resolved"
      this._esql_printObject(_esql_query.getResultSet().getObject(_esql_i), xspAttr);

      // end error
      break;
      }

      default:

      ...
      Line 687, column 0: xspAttr cannot be resolved
      Line 713, column 0: xspAttr cannot be resolved

      Attachments

        Activity

          People

            anathaniel@apache.org Alfred Nathaniel
            feli Feliciano Borrego
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: