A list for the developers of CellML tools

Text archives Help


[cellml-dev] CellML API and RDF in Java


Chronological Thread 
  • From: m.taschuk at newcastle.ac.uk (Morgan Taschuk)
  • Subject: [cellml-dev] CellML API and RDF in Java
  • Date: Tue, 21 Jul 2009 16:55:09 +0100

Hi all,

I have one code-related problem and one question:

1) I have the RDF loading using the API now, and I can serialize it into
a string with RDFXMLStringRepresentation. However, using
RDFXMLDOMRepresentation, I run into a bug when I attempt to query the
DOM for its data. Specifically, the line it dies on is

Document doc = domRep.getData();


Here is the error:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb7695ac6, pid=6321, tid=3073334160
#
# JRE version: 6.0_14-b08
# Java VM: Java HotSpot(TM) Server VM (14.0-b16 mixed mode linux-x86 )
# Problematic frame:
# V [libjvm.so+0x379ac6]
#
# An error report file with more information is saved as:
# /home/morgan/IntelliJ/cellml-test/hs_err_pid6321.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#

The log file and the offending Java file are both attached.


2) I'm also curious as to why you have both this DOM representation and
the RDF package. Don't they perform the same function essentially?



Thank you in advance,
Morgan Taschuk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: DOMTest.java
Type: text/x-java
Size: 865 bytes
Desc: not available
URL:
<http://www.cellml.org/pipermail/cellml-tools-developers/attachments/20090721/d2b29526/attachment.java>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hs_err_pid6321.log
Type: text/x-log
Size: 19227 bytes
Desc: not available
URL:
<http://www.cellml.org/pipermail/cellml-tools-developers/attachments/20090721/d2b29526/attachment.bin>




Archive powered by MHonArc 2.6.18.

Top of page