Mariana; The error message indicates the file is not well-formed RDF/
XML.  How was the file created originally?  If you can send an
example, that would be useful.

-- Scott

On Apr 15, 7:20 am, Mariana Damova <[email protected]> wrote:
> Hi:
> Trying to load a well formed owl file, I am getting the following
> error.
> Can this be due to TopBraidComposer?
> Thanks for your help.
> Best regards,
> Mariana
>
> ========
> An unexpected error has occured.
>
> If you believe this is due to a bug in TopBraid Composer, then please
> consider to report the problem to [email protected] and
> ideally include an export of the Error Log View (Window > Show View >
> Error Log).
>
> On: 2011-4-15 14:22:31
>
> Reason:
> com.hp.hpl.jena.shared.JenaException: org.xml.sax.SAXParseException:
> Content is not allowed in prolog.
>
>         at
> com.hp.hpl.jena.rdf.model.impl.RDFDefaultErrorHandler.fatalError(RDFDefaultErrorHandler.java:
> 45)
>
>         at
> com.hp.hpl.jena.rdf.arp.impl.ARPSaxErrorHandler.fatalError(ARPSaxErrorHandler.java:
> 35)
>
>         at com.hp.hpl.jena.rdf.arp.impl.XMLHandler.warning(XMLHandler.java:
> 225)
>
>         at com.hp.hpl.jena.rdf.arp.impl.XMLHandler.fatalError(XMLHandler.java:
> 255)
>
>         at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown
> Source)
>
>         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)
>
>         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)
>
>         at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
>
>         at org.apache.xerces.impl.XMLDocumentScannerImpl
> $PrologDispatcher.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:
> 107)
>
>         at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:158)
>
>         at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:145)
>
>         at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:215)
>
>         at com.hp.hpl.jena.rdf.model.impl.ModelCom.read(ModelCom.java:226)
>
>         at org.topbraid.core.registry.GraphSource.loadModel(GraphSource.java:
> 160)
>
>         at
> org.topbraid.core.registry.IFileGraphSource.loadModel(IFileGraphSource.java:
> 93)
>
>         at
> org.topbraid.core.registry.GraphSource.loadPhysicalSource(GraphSource.java:
> 132)
>
>         at org.topbraid.core.registry.GraphSource.loadGraph(GraphSource.java:
> 90)
>
>         at org.topbraid.core.io.IO.load(IO.java:252)
>
>         at org.topbraidcomposer.core.io.TBCIO.loadModel(TBCIO.java:236)
>
>         at org.topbraidcomposer.core.io.TBCIO.loadModel(TBCIO.java:265)
>
>         at org.topbraidcomposer.core.io.TBCIO$2$1.run(TBCIO.java:306)
>
>         at java.lang.Thread.run(Unknown Source)
>
> Caused by: org.xml.sax.SAXParseException: Content is not allowed in
> prolog.
>
>         at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source)
>
>         ... 24 more
>
> ---
> Mariana Damova, PhD
> Knowledge Management Expertwww.marianadamova.com

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to