I built Java bindings for QTI and MathML schemas using JAXB and wrote
it up here,
  http://www.telscenter.org/confluence/display/SAIL/QTI+Bindings

I updated WISE Project Converter to use these new bindings instead of
the XMLBeans bindings it had that didn't work very well.  I've updated
the JUnit code that was demonstrating the XMLBeans bindings.  Using
XMLBeans was too awkward and so the actual assessmentItem parser in the
QTIUtils class is currently using JDOM and a bunch of XPath to find
specific parts.

With these JAXB bindings, we can unmarshall the whole assessmentItem at
once into beans.  We can use these beans directly in the PLR instead of
the hand-written Java bindings we have now.  We can even have these
generated beans automatically include property change support:
  https://jaxb2-commons.dev.java.net/property-listener-injector/

I'm going to look tomorrow at making the ChallengeQuestionConverter use
this instead to parse instead of JDOM.  For now I'll have to manually
convert into the hand-written classes of the PLR, but at some point I
hope the PLR can use these generated classes in place of the
hand-written code.

-t


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to