Hi, I tried fixing the errors from the test results and I was unable to fix some of them. You can find the full error report here[1]. The test cases related this PR are from 13865 to 14054. There are errors related to exception handling and since I am using the available java functions I am not sure how I could catch such errors. Also I don't seem to be matching UTF-8 strings, I tried to get the byte array and convert to UTF-8 string, but it wouldn't work. Related errors are: 13918 to 13921. According to [2] I think we should convert all the UTF-8 characters as appropriate when adding to a StringBuilder in the UTF8StringPointable class.. I am not sure how I could do that. Also I tried converting the result of fn:tokenize to a sequence of strings (using sequence builder) instead of a single string, but in vain. Maybe I have understood things incorrectly. Can you please help me figure out how I could fix these errors?
(I sent a previous mail which was not delivered because I tried to attach the error report) [1] http://riyafa.github.io/Riyafa-Abdul-Hameed--web-page/others/full_report.html [2] http://stackoverflow.com/a/5729843/3599535 Thank you. Yours sincerely, Riyafa On 10 March 2016 at 14:04, Till Westmann <[email protected]> wrote: > Hi Riyafa, > > I just looked at your PR [1] and realized that the diff in the results > file is very big. > I think that this might be due to a recent commit by Preston [2] that > changed the sorting of the results file a bit. > Could you take a look if that’s indeed the case and - if so - create a new > results file with the same order that’s currently checked it? > Otherwise, could you validate, that queries that use the new functions > work correctly now? > > Cheers, > Till > > [1] https://github.com/apache/vxquery/pull/32/ > [2] > https://github.com/apache/vxquery/commit/43852a5476ccb33bf9ee58e27468b400cc169d6a#diff-39476c050696c8ab9f59540b607ba92e > -- Riyafa Abdul Hameed Undergraduate, University of Moratuwa Email: [email protected] Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/> <http://facebook.com/riyafa.ahf> <http://lk.linkedin.com/in/riyafa> <http://twitter.com/Riyafa1>
