QTI Bindings

I used JAXB to create Java bindings for the QTI 2.0 schema.

I used JAXB 2.1 to generate the Java source.

And I used the bindind.xjb posted here to get around the problems in MathML.

There are a number of Maven plugins for JAXB2 but I tried the Mojo one and couldn't get it to work. I think it was because it uses JAXB 2.0.3 and some bug fix I needed wasn't in that yet.

I made a new SAIL artifact, qti-bindings and added the .xjb above to src/main/xjb. Then in the qti-bindings directory I ran this command:

xjc.sh  -d src/main/java -target 2.0 http://www.imsglobal.org/xsd/imsqti_v2p0.xsd -b src/main/xjb

That built all the Java files in src/main/java. After that was a simple mvn deploy.

We might consider making the bean properties bound using the Property Change Listener Injector Plugin.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.