align-toparrow-leftarrow-rightbackbellblockcalendarcamerachatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-crosscrosseditemptyheartfacebookfullheartglobegoogleimagesinstagramlocation-pinmagnifying-glassmailmoremuplabelShape 3 + Rectangle 1outlookpersonplusImported LayersImported LayersImported Layersshieldstartwitteryahoo

17 Jun 2014 : How I fought with XJC and won!

The XML-Java binding tool xjc is most unforgiving if given an imperfect set of xsd files on input, and complains bitterly with a myriad of unfathomable error messages. Given a non-trivial set of xsd files representing an effort in the computer security arena to describe defenders, attackers and programs that do nasty things to your machine, I wrestled blindly with xjc to get this stuff to build. Then I took a step back, thought about the problem, and wrote a helper tool which preprocesses the xsd file set in such a way that xjc complains no more. As with all good tree/graph coding solutions, recursion is your friend!

Speaker: Stuart Maclean

Stuart Maclean works at the Applied Physics Laboratory at the UW. He codes in C (autonomous vehicles) and Java (computer security tools). A long-time Java fan, Stuart also teaches Java for the UW Professional and Continuing Education department. Python, just say no.

Join or login to comment.

  • George S.

    Stuart's XML Schema dependency tool (on GIitHub) could be useful in the future...

    Thanks for the Talk and the great Q & A.

    June 19, 2014

  • Nimret S.

    Thanks for coming folks! I hope y'all enjoyed it. See you at the next meeting.

    1 · June 18, 2014

  • Maffy D.

    Tickets for Frank Vignola Tuesday, so can't make this meeting. :(

    June 16, 2014

    • Nimret S.

      no worries - we'll catch you next time. Have fun! :)

      June 17, 2014

11 went

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy