5 Replies Latest reply on Apr 28, 2009 9:04 PM by alwu-Oracle

    WARN [main] (SimpleLog.java:79) - Could not set namespace prefix

    malcolm83
      I'm using the Jena adaptor to load up some .owl files, and I'm getting warnings about namespace prefixes not being found. The data appears to load fine, so I'm not sure why it's a problem. Maybe I need to tweek the .owl syntax a bit. I'd be happy to just turn this one off if I can. Here's a sample:

      WARN [main] (SimpleLog.java:79) - Could not set namespace prefix rdf
      java.sql.SQLException: ORA-00942: table or view does not exist

           at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)
           at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
           at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
           at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
           at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
           at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
           at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
           at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:947)
           at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
           at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
           at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3482)
           at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1085)
           at oracle.spatial.rdf.client.jena.Oracle.executeSQL(Oracle.java:354)
           at oracle.spatial.rdf.client.jena.OraclePrefixMapping.setNamespacePrefix(OraclePrefixMapping.java:195)
           at oracle.spatial.rdf.client.jena.OraclePrefixMapping.setNsPrefix(OraclePrefixMapping.java:215)
           at com.hp.hpl.jena.rdf.arp.JenaHandler.startPrefixMapping(JenaHandler.java:94)
           at com.hp.hpl.jena.rdf.arp.impl.XMLHandler.startPrefixMapping(XMLHandler.java:108)
           at org.apache.xerces.parsers.AbstractSAXParser.startNamespaceMapping(Unknown Source)
           at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
           at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(Unknown Source)
           at org.apache.xerces.impl.XMLNamespaceBinder.startElement(Unknown Source)
           at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
           at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
           at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown Source)
           at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
           at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
           at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
           at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
           at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
           at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
           at com.hp.hpl.jena.rdf.arp.impl.RDFXMLParser.parse(RDFXMLParser.java:106)
           at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:215)
           at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:202)
           at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:272)
           at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:99)
           at com.hp.hpl.jena.rdf.model.impl.ModelCom.read(ModelCom.java:186)
           at com.harris.iis.discovery.jenaPrototype.OracleRDF.loadOntology(OracleRDF.java:94)
           at com.harris.iis.discovery.jenaPrototype.Main.main(Main.java:81)