The Assessment parser routine assumes that image tags will always precede
question text, which creates a problem when the choices of a question are
images!
When choices of a question are images, the parser requires the user to explicitly choose those images. In such an instance, the separateQuestions(), associateImages() and combineSplitQuestions() routines seem to misconstrue the images to be a part of next question or worse, consider an image tag (for individual choices) as a separate question! These deviant cases can wrongly be labeled as SHORT_ANSWER due to the current logic of classifying questions in PDFAssessment2_4.java!!!
For example, consider the question 28 from doc10.pdf. Here is some debug info
that shows the sequence of steps and the defect of the process:
----------------- SAMPLE ---------------------
INITIAL TEXT
28. You can inject a small dye into cells and by light
microscopy observe the dye. Which of the
following illustrates cells from a tissue that forms
gap junctions?
<img src="C:\DOCUME~1\sandeep\LOCALS~1\Temp\doc10_combined_image_1.jpg">
<img src="C:\DOCUME~1\sandeep\LOCALS~1\Temp\doc10_combined_image_2.jpg">
<img src="C:\DOCUME~1\sandeep\LOCALS~1\Temp\doc10_combined_image_3.jpg">
<img src="C:\DOCUME~1\sandeep\LOCALS~1\Temp\doc10_combined_image_4.jpg">
29. Which of the following is CORRECTLY matched?
A. nucleolus : protein synthesis
AFTER SEPARATE QUESTIONS
28. You can inject a small dye into cells and by light
microscopy observe the dye. Which of the
following illustrates cells from a tissue that forms
gap junctions?
<img src="C:\DOCUME~1\sandeep\LOCALS~1\Temp\doc10_combined_image_1.jpg">
<img src="C:\DOCUME~1\sandeep\LOCALS~1\Temp\doc10_combined_image_2.jpg">
<img src="C:\DOCUME~1\sandeep\LOCALS~1\Temp\doc10_combined_image_3.jpg">
<img src="C:\DOCUME~1\sandeep\LOCALS~1\Temp\doc10_combined_image_4.jpg">
29. Which of the following is CORRECTLY matched?
A. nucleolus : protein synthesis
AFTER ASSOCIATE IMAGES
28. You can inject a small dye into cells and by light
microscopy observe the dye. Which of the
following illustrates cells from a tissue that forms
gap junctions?
<img src="C:\DOCUME~1\sandeep\LOCALS~1\Temp\doc10_combined_image_1.jpg">
<img src="C:\DOCUME~1\sandeep\LOCALS~1\Temp\doc10_combined_image_2.jpg">
<img src="C:\DOCUME~1\sandeep\LOCALS~1\Temp\doc10_combined_image_3.jpg">
<img src="C:\DOCUME~1\sandeep\LOCALS~1\Temp\doc10_combined_image_4.jpg">29. Which of the following is CORRECTLY matched?
A. nucleolus : protein synthesis
AFTER COMBINE AND SPLIT
28. You can inject a small dye into cells and by light
microscopy observe the dye. Which of the
following illustrates cells from a tissue that forms
gap junctions?
<img src="C:\DOCUME~1\sandeep\LOCALS~1\Temp\doc10_combined_image_1.jpg">
<img src="C:\DOCUME~1\sandeep\LOCALS~1\Temp\doc10_combined_image_2.jpg">
<img src="C:\DOCUME~1\sandeep\LOCALS~1\Temp\doc10_combined_image_3.jpg">
<img src="C:\DOCUME~1\sandeep\LOCALS~1\Temp\doc10_combined_image_4.jpg">29. Which of the following is CORRECTLY matched?
A. nucleolus : protein synthesis
----------------- END OF SAMPLE ---------------------