Strange output?
Hello,
I am using the SAX parser to parse a xml file which can be downloaded from the http://archive.godatabase.org/latest-termdb/go_daily-termdb.obo-xml.gz.
The file is a gene ontology. My problem is that from the 25000 terms described in this file, the parser can not read the id node of 100 of these terms correctly. The output should be like
GO:0000142
while it reads it as
GO:00001
42
as a result what I have as the terms id is 42 . As I said this only occurs randomly in 100 terms from the 25000 terms. The characters function doesn't do anything at all
publicvoid characters(char[] ch,int start,int length)throws SAXException{
tempVal =new String(ch,start,length);
}
just reads the values. Any ideas?
ehsan

