On Tuesday, October 22, 2013 05:57:21 PM [email protected] wrote: > Seems it does not like the file extension. Renaming it now. Sorry for the > amount of mails.
When Jena reads a file it uses the file suffix to guess what language the file is in. If it doesn't know the suffix it defaults to RDF/XML. So if you have Turtle text in, say, myturtle.txt and try to read it in without telling Jena that it's Turtle, the RDF/XML parser will object. (I got "content is not allowed in prolog"; that's the RDF/XML parser assuming the non-XML text its seeing is Just Stuff that would be skipped over, but that is Not Allowed.) Chris -- "The wizard seemed quite willing when I talked to him." /Howl's Moving Castle/ Epimorphics Ltd, http://www.epimorphics.com Registered address: Court Lodge, 105 High Street, Portishead, Bristol BS20 6PT Epimorphics Ltd. is a limited company registered in England (number 7016688)
