Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-1853

SAXParseException in transaction.xml because of uneven number of schemaLocation URI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • transaction-blueprint-2.2.0
    • Blueprint
    • None

    Description

      I am using the bundle org.apache.aries.transaction.blueprint-2.2.0.jar in a Karaf 4.2.1 environment. I get several warnings in the log file because the schemaLocation value of OSGI-INF/transaction.xml has an uneven number. Does not affect the bundle start, but these warnings should be avoided.

      org.xml.sax.SAXParseException: SchemaLocation: schemaLocation-Wert = 'http://www.osgi.org/xmlns/blueprint/v1.0.0' muss eine gerade Anzahl an URIs haben.
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203) ~[?:?]
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.warning(ErrorHandlerWrapper.java:99) [?:?]
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:392) [?:?]
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327) [?:?]
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:284) [?:?]
      at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:452) [?:?]
      at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.storeLocations(XMLSchemaValidator.java:2347) [?:?]
      at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1754) [?:?]
      at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:740) [?:?]
      at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:374) [?:?]

      Attachments

        Activity

          People

            ggrzybek Grzegorz Grzybek
            valthaus Volker Althaus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: