Thank you for mentioning your usage.
It's NOT Bug rather than usage error.
I have an explanation and recommendation:
(1) Explanation of current APML parser
We are using javax.xml.namespace.QName class to parse the "processingDate
attribute" and set the data using XmlCalendar rather than
java.util.Calendar.
dataProcessingStartElement.getAttributeByName(new
QName("processingDate")).getValue();
dataProcessing.setProcessingDate(new XmlCalendar(processingDateString));
(2)Recommendation
As you see in the example codes in
org.systemsbiology.apmlparser.v2.APMLReader,
I recommend to use XmlCalendar in your APML writing code instead of
java.util.Calendar.
Then you don't have to skip the processing date attribute, which can be a
critical annotation of the data.
All the best,
Mi-Youn
Mi-Youn Brusniak, Ph.D.
Computational Biology
Seattle Proteome Center
mbru...@systemsbiology.org
Tel: (206) 732-1327
Dear Mi-Youn,
Regards,
Berend Hoekman
--
You received this message because you are subscribed to the Google Groups
"Corra" group.
To post to this group, send email to co...@googlegroups.com.
To unsubscribe from this group, send email to
corra+un...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/corra?hl=en.
I just ran the APMLPaserReader using runAPMLParser.sh using example apml
files in Corrav3.1.tgz.
Corra3.1-APML2.1.jar is exactly the same code from Corra3.1.tgz. I just
extracted out from Corra, so bioinformaticians who is only interested in
APML could just download only the APML part. Please visit
https://sourceforge.net/projects/corra/ and download the new APML files and
script and try out.
I also removed old APML file that you have been using (2008 version). I
assumed users would get the newest one from Corrav3.0 but apparently not :-)
So I updated Corra-APML folder.
Please use update APML since I can't reproduce the problem you have.
Cheers,
Mi-Youn Brusniak, Ph.D.
Computational Biology
Seattle Proteome Center