org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'newKnowledgeBase.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

xerces-j-users | hamid.farhadi.nsc | 7 years ago
  1. 0

    i'm getting org.xml.sax.SAXParseException

    xerces-j-users | 7 years ago | hamid.farhadi.nsc
    org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'newKnowledgeBase.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
  2. 0

    i'm getting org.xml.sax.SAXParseException

    xerces-j-users | 7 years ago | hamid.farhadi.nsc
    org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'newKnowledgeBase.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
  3. 0

    Not able to access MSSQL analysis services cubes

    Stack Overflow | 3 years ago | Anurag Saxena
    org.xml.sax.SAXParseException: Content is not allowed in prolog.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error for "¦" when I read XML file using matlab

    Stack Overflow | 3 years ago | user3403234
    org.xml.sax.SAXParseException: The entity "brvbar" was referenced, but not declared.
  6. 0

    ServiceMix - User - ODE 1.3.3 ServiceMix 3.3.1 Oracle - Transaction Problems

    nabble.com | 11 months ago
    org.xml.sax.SAXParseException: Content is not allowed in prolog.

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.xml.sax.SAXParseException

      schema_reference.4: Failed to read schema document 'newKnowledgeBase.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

      at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException()
    2. Xerces2-j
      DOMParser.parse
      1. org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(UnknownSource)
      2. org.apache.xerces.util.ErrorHandlerWrapper.warning(UnknownSource)
      3. org.apache.xerces.impl.XMLErrorReporter.reportError(UnknownSource)
      4. org.apache.xerces.impl.XMLErrorReporter.reportError(UnknownSource)
      5. org.apache.xerces.impl.XMLErrorReporter.reportError(UnknownSource)
      6. org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaWarning(UnknownSource)
      7. org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(UnknownSource)
      8. org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
      9. org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(UnknownSource)
      10. org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar(UnknownSource)
      11. org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(UnknownSource)
      12. org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
      13. org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(UnknownSource)
      14. org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(UnknownSource)
      15. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(UnknownSource)
      16. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(UnknownSource)
      17. org.apache.xerces.parsers.XML11Configuration.parse(UnknownSource)
      18. org.apache.xerces.parsers.XML11Configuration.parse(UnknownSource)
      19. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      20. org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
      20 frames
    3. edu.ncsu.tiaa
      GUI$15.actionPerformed
      1. edu.ncsu.tiaa.knowledgebase.KnowledgeBase.print(KnowledgeBase.java:313)
      2. edu.ncsu.tiaa.knowledgebase.KnowledgeBase.<init>(KnowledgeBase.java:191)
      3. edu.ncsu.tiaa.alert_collection.AlertCollection.<init>(AlertCollection.java:97)
      4. edu.ncsu.tiaa.gui.GUI.createNewProject(GUI.java:986)
      5. edu.ncsu.tiaa.gui.GUI.newButtonActionPerformed(GUI.java:1244)
      6. edu.ncsu.tiaa.gui.GUI.access$1400(GUI.java:33)
      7. edu.ncsu.tiaa.gui.GUI$15.actionPerformed(GUI.java:254)
      7 frames
    4. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      2. javax.swing.AbstractButton$Handler.actionPerformed(UnknownSource)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(UnknownSource)
      4. javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      6. java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
      7. java.awt.Component.processMouseEvent(Unknown Source)
      8. javax.swing.JComponent.processMouseEvent(Unknown Source)
      9. java.awt.Component.processEvent(Unknown Source)
      10. java.awt.Container.processEvent(Unknown Source)
      11. java.awt.Component.dispatchEventImpl(Unknown Source)
      12. java.awt.Container.dispatchEventImpl(Unknown Source)
      13. java.awt.Component.dispatchEvent(Unknown Source)
      14. java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      15. java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      16. java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      17. java.awt.Container.dispatchEventImpl(Unknown Source)
      18. java.awt.Window.dispatchEventImpl(Unknown Source)
      19. java.awt.Component.dispatchEvent(Unknown Source)
      20. java.awt.EventQueue.dispatchEvent(Unknown Source)
      21. java.awt.EventDispatchThread.pumpOneEventForHierarchy(UnknownSource)
      22. java.awt.EventDispatchThread.pumpEventsForHierarchy(UnknownSource)
      23. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      24. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      25. java.awt.EventDispatchThread.run(Unknown Source)
      25 frames