Hi Rich,
It's appears to be being read because it is in the TBC workspace.
Is there a log message about the base URI already being in use?
Some possibilities ("guesses"):
- the RDF/XML file is truncated
- the RDF/XML file is being read before it has been fully written
- there are illegal characters getting into the XML tags
Knowing what's in SectorLocationInst.rdf as well as the TTL file, would
help but if it's due to timing, the .rdf file may end up valid, because it
was only partially there when read.
You could try to run the Jena tools directly as a check:
riot --pretty RDF/XML YourData.ttl > YourData.rdf
riot --validate YourData.rdf
Andy
On Saturday, 23 September 2017 01:41:25 UTC+1, Rich Keller wrote:
>
>
> Hi. I am using the TBC Export/Merge/Convert wizard to convert some of my
> turtle files to RDF/XML. I don't have a problem with most of the files, but
> three of them cause TBCME to freeze. I tried to get information from the
> log file, but with most attempts, there was nothing written. I did manage
> to capture an exception in one case. In this instance, I was converting a
> file named SectorLocationInst.ttl. Although the turtle file was presumably
> well-formed as it was readable by TBCME and other tools, Jena is
> complaining about improper formatting (but for the generated rdf file, not
> the turtle file). Here is the trace. The file could be sent off list, if
> needed. Rich
>
> ---------------------
>
> !ENTRY org.topbraid.core 4 0 2017-09-22 14:55:58.793
> !MESSAGE While reading:
> http://atmweb.arc.nasa.gov/ontology/SectorLocationInst from
> L/DW/SectorLocationInst.rdf
> !STACK 0
> org.apache.jena.riot.RiotException: [line: 1569, col: 55] XML document
> structures must start and end within the same entity.
> at
> org.apache.jena.riot.system.ErrorHandlerFactory$ErrorHandlerStd.fatal(ErrorHandlerFactory.java:136)
>
...
> at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown
> Source)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
>
...
> at org.apache.jena.riot.RDFDataMgr.read(RDFDataMgr.java:245)
>
at org.topbraid.core.io.IO.loadAndRegister(IO.java:327)
> at org.topbraid.core.io.IO.load(IO.java:292)
> at org.topbraidcomposer.core.io.TBCIO.loadModel(TBCIO.java:340)
> at org.topbraidcomposer.core.io.TBCIO.loadModel(TBCIO.java:375)
> at org.topbraidcomposer.core.io.TBCIO$2$1.run(TBCIO.java:428)
> at java.lang.Thread.run(Thread.java:745)
>
>
--
You received this message because you are subscribed to the Google Groups
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.