From: Fredrik K. <dar...@gm...> - 2008-04-07 11:05:59
|
Hi, Is this very promising project dead? If it is not, I have a big problem which I need help solving: I used to have a Linux computer on which I had AGTK installed. Now, I have changed to a Mac (OSX 10.5) and would like to access my thesis data which is in one huge AG XML file. The first problem I have is that I cannot get the JAVA version of AGLIB to parse the XML file created with the C version of the library: frkkan:agtk fredrik$ java agParseTest Exception in thread "main" java.lang.RuntimeException: agtk.ag.AGException: Anchor null doesn't exist! at agtk.ag.parser.AnnotationParser.<init>(AnnotationParser.java:74) at agtk.ag.parser.AgParser.startElement(AgParser.java:69) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:798) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:330) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242) at agParseTest.main(agParseTest.java:21) Caused by: agtk.ag.AGException: Anchor null doesn't exist! at agtk.ag.AnnotationIndex.getAnchorById(AnnotationIndex.java:523) at agtk.ag.AG.getAnchorById(AG.java:788) at agtk.ag.parser.AnnotationParser.<init>(AnnotationParser.java:68) ... 11 more The second problem I have is that I cannot get teh C++ version of AGLIB to find the libraries used to XML IO (installed using macports) no matter how hard I try to specify the location of them manually at configure. Any ideas? /Fredrik -- "Give up learning, and put an end to your troubles." |