Hi.  I just got this message.  I read this group through the web
interface so don't get all the messages.  CC:ing me will get me to
respond quicker.

Yes, I generated the bindings in the qti-bindings project.  I
described doing that here,
  http://www.telscenter.org/confluence/display/SAIL/QTI+Bindings

I wrote about it in a message to SAIL-Dev:
http://groups.google.com/group/SAIL-Dev/browse_thread/thread/4f7b76410fcb690f/02f8e439e6d8abcb?hl=en&lnk=st&q=PAS-344+sail-dev#02f8e439e6d8abcb

I said that I marked ticket Incomplete because I thought we should
recompile it with "bound properties" on the beans.
http://groups.google.com/group/SAIL-Dev/browse_thread/thread/4f7b76410fcb690f/02f8e439e6d8abcb?hl=en&lnk=st&q=PAS-344+sail-dev#02f8e439e6d8abcb

using this JAXB XJC plugin,
https://jaxb2-commons.dev.java.net/property-listener-injector/

You may know all this already; I'm just gathering info.

So now to your question: how can we get the blockinteraction to be
generated as the superclass?

I'm not sure that's the right approach.  JAXB is compiling QTI's
schema descriptor.  It seems to me that whatever it generates is what
the code should work with.

Incidentally, I compiled qti-bindings with QTI v2.0.  I think the
items schema didn't change and that QTI v2.1 just adds composing of
items.  If SAIL is only using items, then QTI v2.0 should be fine.

I'm not sure what the solution is to this impass, but these other Java
QTI libraries that have emerged may help:
http://www.asdel.ecs.soton.ac.uk/publications/
http://jqti.qtitools.org/
http://code.google.com/p/qtidevelopment/


That's about all I know.

-Turadg



On Feb 27, 6:34 pm, Anthony Perritano <[EMAIL PROTECTED]> wrote:
> Hi,
>
> so i am starting to integrate the QTI-Bindings project into
> Assessments in pas.  The bindings project is jaxb generated code based
> on the IMS QTI spec.
>
> http://www.imsglobal.org/question/
>
> This is one of our goals for Assessments 2.0 (notes, student
> assessment, etc.....) as we move to Otrunk. Being based off of Jaxb
> generated from the xml spec. This creates a flexible, extensible and
> portable assessment framework. It gets rid of our custom objects.
>
> As i am implementing the change, i have come to a snag - the pas
> version of BlockInteraction, which is used as the super class of
> ChoiceInteraction and ExtendedTextInteraction which makes up the
> questions you see in Assessments,does not seem to be generated in the
> qti-bindings project.
>
> Turadg, how can we get the blockinteraction to be generated as the
> superclass? where you the last one to generate the bindings?
>
> heres a sample, i have included the full dtd's as attachments:
>
> <!-- Class: interaction -->
>
> <!ENTITY % interaction.AttrGroup
> "  %bodyElement.AttrGroup;
>         responseIdentifier              %identifier.Type;               
> #REQUIRED
>         ">
>
> <!-- Class: blockInteraction -->
>
> <!ENTITY % blockInteraction.AttrGroup
> "  %flow.AttrGroup;
>         %interaction.AttrGroup;
>         ">
>
> <!ENTITY % blockInteraction.ContentGroup
> "(prompt?)">
>
> <!-- Class: associateInteraction -->
>
> <!ENTITY % associateInteraction.AttrGroup
> "  %blockInteraction.AttrGroup;
>         shuffle         %boolean.Type;          #REQUIRED
>         maxAssociations         %integer.Type;          #REQUIRED
>         minAssociations         %integer.Type;          #IMPLIED
>         ">
>
> -Tony
>
>  imsqti_v2p1.dtd
> 112KDownload
>
>  imsqti_v2p1.xsd
> 230KDownload
>
>
--~--~---------~--~----~------------~-------~--~----~
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