Shared Questionnaire System: Issueshttp://sqs2.net/http://sqs2.net/favicon.ico?15768422422016-04-29T10:04:37ZShared Questionnaire System
Redmine sqs-reader - Defect #150 (Assigned): tomzinghttp://sqs2.net/issues/1502016-04-29T10:04:37Zhiall zingtomzing888@gmail.com
<p>thank you for the information and i like to visit this website again<br /><a class="external" href="http://keyresult.in/">http://keyresult.in/</a><br /><a class="external" href="http://hiall.in/">http://hiall.in/</a></p> Shared Questionnaire System - Defect #149 (Assigned): Web Start Not Workinghttp://sqs2.net/issues/1492016-02-20T12:31:39ZLou Floreslou_flores03@yahoo.com
<p>Is it ok to post this here? Java is showing this error. Using Windows 7 64-bit and have both 32-bit and 64-bit java installed.</p>
<p>org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.<br /> at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)<br /> at com.sun.deploy.xml.XMLParser.parse(Unknown Source)<br /> at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)<br /> at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)<br /> at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)<br /> at com.sun.javaws.Main.launchApp(Unknown Source)<br /> at com.sun.javaws.Main.continueInSecureThread(Unknown Source)<br /> at com.sun.javaws.Main.access$000(Unknown Source)<br /> at com.sun.javaws.Main$1.run(Unknown Source)<br /> at java.lang.Thread.run(Unknown Source)</p>
<p>JNLParseException[ Could not parse launch file. Error at line 1.]<br /> at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)<br /> at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)<br /> at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)<br /> at com.sun.javaws.Main.launchApp(Unknown Source)<br /> at com.sun.javaws.Main.continueInSecureThread(Unknown Source)<br /> at com.sun.javaws.Main.access$000(Unknown Source)<br /> at com.sun.javaws.Main$1.run(Unknown Source)<br /> at java.lang.Thread.run(Unknown Source)<br />Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.<br /> at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)<br /> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)<br /> at com.sun.deploy.xml.XMLParser.parse(Unknown Source)<br /> ... 8 more</p> sqs-reader - Defect #148 (Assigned): http://awriter.orghttp://sqs2.net/issues/1482016-01-05T20:49:39Zbody body-bo thomas.fickes@mail.ru
<p>Awesome interior design that is because here is some thing good for the people who loved fashion and related trend. [[ <a class="external" href="http://awriter.org">http://awriter.org</a><br />]]</p> sqs-translator - Feature #147 (Assigned): command line interface to generate PDF file from sqs filehttp://sqs2.net/issues/1472012-05-15T16:11:40ZHiroya Kubokubo.hiroya@gmail.com
<p>command line interface to generate PDF file from sqs file</p> sqs-reader - Feature #146 (Assigned): command line interface to process MarkReaderSessionhttp://sqs2.net/issues/1462012-05-15T16:10:12ZHiroya Kubokubo.hiroya@gmail.com
<p>command line interface to process MarkReaderSession.</p> sqs-translator - Defect #145 (Fixed): modify labels for marking exapmles in englishhttp://sqs2.net/issues/1452012-05-12T10:22:08ZHiroya Kubokubo.hiroya@gmail.com
<p>modify labels for marking exapmles in english</p> Shared Questionnaire System - Feature #144 (Assigned): BARCODE changeshttp://sqs2.net/issues/1442012-05-10T02:11:19ZMichele Vivoda
<p>This patch I am describing here started as a setup step for introducing the barcode,<br />mainly implement parameters for each translation (pdf) but finished in the complete<br />barcode implementation changes. Is difficult to make step by step such big change.</p>
<p>The tests are all ok, I a drastic change but I am confident it will work.</p>
<p>Note/Question: I am making a multi module patch since modules involved are multiple,<br />but I don't know how to put it together since there<br />are different repositiories involved, maybe just take them all.. <br />I marked the pull requests that must be committed together (in different modules) with BARCODE</p>
<p>Changes for sqs-translator:</p>
<p>1) To start I simplified the Translator interface to be simpler:<br />The Translator interface has been changed to have only the methods</p>
<pre><code>void translate(TranslatorSource source, OutputStream)<br /> InputStream translate(TranslatorSource source)</code></pre>
<p>The other methods have been left there but commented out,<br />the commented out implementations in AbstractTranslator now all use<br />a TranslatorSource to call their overloaded counterpart,<br />where possible the implementation methods have been made final.<br />I commented out for test, to be sure all the components where calling<br />the new methods to propagate resolver and parameters to all translators.<br />If you like I can re put the previous overloaded methods there, <br />but I think that a thinner interface is perhaps better.</p>
<p>The aim was to get to a point in which the main implementation<br />method (execute) does not declare many parameters<br />but only one "context" object including input, output, resolver and xslt parameters,</p>
<p>I did this because: <br />A) I had to modify methods in any case for adding xslt-parameters per print<br />B) if one day one need to add one new configuration<br />parameter, say "encoding", to the context simply will add a method to the "context" <br />class and won't have to change method declarations in all implementations<br />of Translator.</p>
<p>2) I changed the method of FOPTranslator#translate() to translateFO() since <br />is specific of FO, to not get confused with the translate() methods of Translator</p>
<p>3) I changed the convert3.xsl to add some little functionalities for images. in a previous commit<br />4) I fixed the calculation of suffixes for config as per Defect # 142</p>
<p>5) I changed some code to make Sqs2PDFTranslator more friendly, before <br />the minimal constructor parameters were [fopURL, xsltURL, pageSetting, URIResolver,filename]<br />now they are only [filename]. made test SQSToPDFTranslatorAPITest for this,<br />the aim is to have a class that is simple and ready to use, <br />to attract potential developers/users that now do not need to "know" much to start.</p>
<p>I am not sure about the groupId, appID and filename params though, could you tell me something?</p>
<p>6) I added the barcode code to all xslt involved</p>
<p>Barcode Prints! You may see in the tests (at the moment tests show in PDF reader the pdf, will remove)</p>
<p>Other components<br />---------------- <br />Other components have little changes that must however be committed together to compile.</p>
<p>sqs-editor: changed ExportFileLogic to use the new TranslateSourceBean class<br />sqs-reader: changed PDFBookmarkFormMasterFactory, PDFBookmarkToSQMTranslator,PDFtoBookmarkTranslator to use the new source class.</p>
<p>End</p>
<p>---------------Down is a draft</p>
<p>Ideas For Translator (These are not really needed however, performance is super ok)<br /> - Maybe use TemplatesHandler for better multi threading<br /> - wondering how could be the performance using DOM (caching the tree, not only the bytes),<br /> Scenario: load a translator with uri-resolver and a sqs-source (that is kept as DOM) <br />and then call for each printed document a transform method that receives <br />an output (stream) and parameters.</p> sqs-reader - Defect #143 (Assigned): Recursive lookup of pdf in parent dirs while testinghttp://sqs2.net/issues/1432012-05-09T01:57:38ZMichele Vivoda
<p>While executing tests the test folder is climbed up looking for .pdf, now that the folder is a temp folder on my machine there are a lot of pdf to be found and they interfere with the results.. I think is some auto detction in PDFBookmarkFormMasterFactory but not sure about it..</p> sqs-translator - Defect #142 (Fixed): config localization suffixes problemhttp://sqs2.net/issues/1422012-05-09T01:15:25ZMichele Vivoda
<p>The sequence for me is:</p>
<p>URL would be class://net.sqs2.translator.impl.TranslatorJarURIContext/fop/userconfig_it_IT_.xml<br />URL would be class://net.sqs2.translator.impl.TranslatorJarURIContext/fop/userconfig_it_IT.xml<br />URL would be class://net.sqs2.translator.impl.TranslatorJarURIContext/fop/userconfig_it.xml<br />URL would be class://net.sqs2.translator.impl.TranslatorJarURIContext/fop/userconfig.xml<br />URL would be class://net.sqs2.translator.impl.TranslatorJarURIContext/fop/userconfig_en__.xml<br />URL would be class://net.sqs2.translator.impl.TranslatorJarURIContext/fop/userconfig_en_.xml<br />URL would be class://net.sqs2.translator.impl.TranslatorJarURIContext/fop/userconfig_en.xml<br />OK, created! userconfig_en.xml</p>
<p>I will fix it soon since I have some code to calculate the suffixes as resource-bundle somewhere..</p> Shared Questionnaire System - Feature #141 (Assigned): Mark Reader Results - Xml Exporthttp://sqs2.net/issues/1412012-05-08T03:50:01ZMichele Vivoda
<p>I started to implement an xml format for the results of sqs-mark-reader, like the existing csv, excel..</p>
<p>I choosed for now namespace <a class="external" href="http://sqs2.net/2012/result">http://sqs2.net/2012/result</a></p>
<p>During implementation I fixed the csv export class and created a common base class</p>
<p>I made a pull request and would like to write something about the format but not sure where.</p> Shared Questionnaire System - Defect #140 (Assigned): Wrong condition in CSVExportModule#writeSel...http://sqs2.net/issues/1402012-05-08T01:47:00ZMichele Vivoda
<p>I already noticed that CSV was not exporting select1 values,<br />now I think found why, the condition in CSVExportModule#writeSelectSingleAnswer</p>
<p>if (answer null || taskErrorModelMap null || 0 taskErrorModelMap.size()) {<br /> return;<br />}</p>
<p>is wrong, should be as in the next method:</p>
<p>if (answer null || (taskErrorModelMap != null && 0 < taskErrorModelMap.size())) {</p>
<p>I am making a cumulative patch for all these minor issues</p> Shared Questionnaire System - Defect #139 (Fixed): typo in TraverseEventGeneratorhttp://sqs2.net/issues/1392012-05-07T23:28:31ZMichele Vivoda
<p>While developing an xml exporter I noticed the sequence of events was wrong, then I found this typo in method #traverseRow:</p>
<p>if (prevPageIndex == -1) {</p>
<p>should be</p>
<p>if (prevPageIndex != -1) {</p>
<p>BTW in cases of little changes like this, what you think, should I make a pull request or is better to just report like this ?</p> sqs-reader - Defect #138 (Assigned): misconfigure scale and/or size of OMR image model visualizationhttp://sqs2.net/issues/1382012-05-07T21:02:05ZHiroya Kubokubo.hiroya@gmail.com
<ul>
<li>bug: missing textarea form bounding box visualization in Preview.</li>
<li>bug: misconfiguration of font sizes, they are scale dependent unexpectedly.</li>
<li>bug: misconfiguration scale of DeskewGuideCandidates in Preview.</li>
<li>bug: misconfiguration range and default value of JSlider for OMR image model scaling.</li>
</ul> Shared Questionnaire System - Defect #137 (Assigned): Redesign a brand new XSLT script translatin...http://sqs2.net/issues/1372012-05-07T08:33:46ZHiroya Kubokubo.hiroya@gmail.comShared Questionnaire System - Feature #136 (Assigned): Redesign a brand new SQS Schemahttp://sqs2.net/issues/1362012-05-07T08:20:39ZHiroya Kubokubo.hiroya@gmail.com