[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [cti-users] Inquiry: parsing AIS:TLPMarking with Java
Hi Kathy, Thanks for the Java code. My colleague tried to combine your code with the library (.jar) from https://github.com/STIXProject/java-stix. However, he told me that he couldnât do it. Could you advise me how to use âorg.mitre.stixâ library along with your code? Regards, Kun-Hsien Shih Taiwan National Computer Emergency Response Team No.116, Fuyang St., Daâan Dist., Taipei City 106, Taiwan (R.O.C.) Tel: 886-2-6631-6487 This email may contain confidential information. Please disregard and delete this email if you are not the intended recipient. From: Simunich, Kathy Lee [mailto:simunich@anl.gov] You can retrieve the AIS marking XSD via: Are you talking about the github.com/STIXProject/java-stix.git project? Iâve been using that library for a few years, and I had to add the AIS XSD and make other additions to the code generating files in order to have it create the classes correctly. My code would be way out of date with the version on github, but Iâve attached the generated package/classes from it. Perhaps you can just include it in your version? Hope this helps. KL On Mar 21, 2019, at 8:17 PM, Kun-Hsien Shih (TWNCERT) <kunshih@twncert.org.tw> wrote: Hi Jerome, Thanks for the information about Java library for STIX 2.x. However, we are trying to parse the STIX 1.x in XML format. So far, we couldnât find Java library for STIX 1.x to parse the AIS:TLPMarking. Only the python library, https://stix.readthedocs.io/en/stable/api/extensions/marking/ais.html Regards, Kun-Hsien Shih From: Jerome Athias [mailto:jeromeathias2018@gmail.com] Hi Not sure but did you try this one ? https://github.com/StephenOTT/STIX-Java Hi Forum members, We are using Java STIX library, org.mitre.stix, to parse the AIS feed data, but an error message showed that the Java STIX library couldnât parse the âAIS:TLPMarkingâ. Do you have suggestions about which Java library could be used for parsing âAIS:TLPMarkingâ? p.s. We could only find an article about parsing âAIS:TLPMarkingâ with python code. Thanks, Kun-Hsien Shih Kathy Lee Simunich Argonne National Laboratory |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]