Well, the issue is there :)
https://github.com/dbpedia-spotlight/dbpedia-spotlight/issues/120

Please add there what you learn from the thread in dbpedia-discussion.

Cheers
Pablo
On Oct 29, 2012 5:37 AM, "Pablo N. Mendes" <[email protected]> wrote:

>
> Hi Sandro,
> This is an issue with the DEF 3.8. It has been discussed on
> dbpedia-discussion or dbpedia-developers list. Please search the archives
> there. We might need to patch the code and update the jar on which we
> depend. Can you please create a github issue (please add to it a link to
> the thread in those lists)?
>
> Cheers
> Pablo
> On Oct 29, 2012 3:33 AM, "Sandro Coelho" <[email protected]> wrote:
>
>> Hi all,
>>
>> When I run the ExtractOccsFromWikipedia class, I receive the following
>> error:
>>
>> ExtractOccsFromWikipedia
>> ------------------------------------------------------------------------------------------------------------------------------------------
>>
>> Exception in thread "main" javax.xml.stream.XMLStreamException: ParseError 
>> at [row,col]:[1,249]
>> Message: expected <mediawiki> with namespace 
>> [http://www.mediawiki.org/xml/export-0.6/], found 
>> [http://www.mediawiki.org/xml/export-0.8/]
>>      at 
>> org.dbpedia.util.text.xml.XMLStreamUtils.requireElement(XMLStreamUtils.java:120)
>>      at 
>> org.dbpedia.util.text.xml.XMLStreamUtils.requireStartElement(XMLStreamUtils.java:81)
>>      at 
>> org.dbpedia.extraction.sources.WikipediaDumpParser.requireStartElement(WikipediaDumpParser.java:361)
>>      at 
>> org.dbpedia.extraction.sources.WikipediaDumpParser.readDump(WikipediaDumpParser.java:124)
>>      at 
>> org.dbpedia.extraction.sources.WikipediaDumpParser.run(WikipediaDumpParser.java:108)
>>      at 
>> org.dbpedia.extraction.sources.XMLReaderSource.foreach(XMLSource.scala:57)
>>      at 
>> org.dbpedia.spotlight.io.AllOccurrenceSource$AllOccurrenceSource.foreach(AllOccurrenceSource.scala:80)
>>      at 
>> org.dbpedia.spotlight.filter.Filter$FilteredOccs.foreach(Filter.scala:58)
>>      at 
>> org.dbpedia.spotlight.filter.Filter$FilteredOccs.foreach(Filter.scala:58)
>>      at 
>> org.dbpedia.spotlight.filter.Filter$FilteredOccs.foreach(Filter.scala:58)
>>      at 
>> org.dbpedia.spotlight.io.FileOccurrenceSource$.writeToFile(FileOccurrenceSource.scala:57)
>>      at 
>> org.dbpedia.spotlight.lucene.index.ExtractOccsFromWikipedia$.main(ExtractOccsFromWikipedia.scala:82)
>>      at 
>> org.dbpedia.spotlight.lucene.index.ExtractOccsFromWikipedia.main(ExtractOccsFromWikipedia.scala)
>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>      at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>      at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>      at java.lang.reflect.Method.invoke(Method.java:601)
>>      at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
>>
>>
>>
>> I changed the head of my wiki-latest-pages-articles.xml file from
>> http://www.mediawiki.org/xml/export-0.8/ to
>> http://www.mediawiki.org/xml/export-0.6/ and got success...Does anyone
>> have an idea what I'm doing wrong?
>>
>> Cheers,
>>
>> --
>> Atenciosamente,
>> Sandro Athaide Coelho
>> Graduando em Ciência da Computação - UFJF
>> (32) 9123 0608
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> The Windows 8 Center - In partnership with Sourceforge
>> Your idea - your app - 30 days.
>> Get started!
>> http://windows8center.sourceforge.net/
>> what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
>> _______________________________________________
>> Dbp-spotlight-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users
>>
>>
------------------------------------------------------------------------------
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
_______________________________________________
Dbp-spotlight-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users

Reply via email to