Hi, Mr. O'Neall I will change my proposal according to your suggestions. I will email you a new proposal tomorrow afternoon, so you have time to read it before Friday.
Thanks, Gang On Tue, Mar 18, 2014 at 2:17 PM, Gary O'Neall <[email protected]>wrote: > Hi Gang, > > > > Thanks for submitting the proposal. Attached is the proposal with my > comments. > > > > I like the fact you have some programming classes in Java and XML - that > will be helpful on this project. > > > > I would like to suggest a different design approach using the existing > parsers in the SPDX tools library rather than using regex and string search > methods. > > > > I believe using the RDF/XML parsers would be more reliable. It would also > use common code for reading and interpreting the SPDX documents, so if > there is a change in the spec we only have to update the code in one place. > > > > A straightforward example of using the RDF/XML parser can be found in the > SPDX viewer: > http://git.spdx.org/?p=spdx-tools.git;a=blob_plain;f=src/org/spdx/tools/SpdxViewer.java;hb=94cb8f099344054db88748a1fe1b12c8f3ad4ef5 > > > > The SPDXDocumentFactory is used to open and parse and SPDX document. > > > > The resultant class SPDXDocument contains the model. The SPDXDocument > getter methods can be called to query the values. > > > > You can see an example for how the SPDX document is accessed in the > CommonCode class called by the SPDXViewer: > http://git.spdx.org/?p=spdx-tools.git;a=blob_plain;f=src/org/spdx/tag/CommonCode.java;hb=94cb8f099344054db88748a1fe1b12c8f3ad4ef5 > > > > A more complex example on using the RDF parser in the compare utility > http://git.spdx.org/?p=spdx-tools.git;a=blob_plain;f=src/org/spdx/tools/CompareSpdxDocs.java;hb=94cb8f099344054db88748a1fe1b12c8f3ad4ef5 > > > > The method openRdfOrTagDoc will return an SPDXDocument object. > > > > I would be happy to provide you more info on the existing utilities. > > > > Gary > > > > *From:* Gang Ling [mailto:[email protected]] > *Sent:* Monday, March 17, 2014 8:54 PM > *To:* Matt Germonprez; Gary O'Neall > *Cc:* [email protected] > *Subject:* Gang Ling - Google Summer of Code Merge Tool Proposal > > > > Hi, SPDX Tech group > > > > My name is Gang Ling. I am a student from University of Nebraska at Omaha. > I work for Professor Matt at the Open Source Lab. I know the SPDX > framework. > > Here is my Merge tool proposal for the Google summer of code 2014. Please > read it and give me feedback. > > I am welcome any comments on my project because I want to work on it. > > > > I attach my document in the email as well as a photo. The photo is about a > overview of the program progress, which I talked with Professor Matt last > week. > > > > Thank you! > > Gang > > > > -- > > Gang Ling > > University of Nebraska at Omaha > College of Information Science and Technology > -- Gang Ling University of Nebraska at Omaha College of Information Science and Technology
_______________________________________________ Spdx-tech mailing list [email protected] https://lists.spdx.org/mailman/listinfo/spdx-tech
