Hi, Thank you very much. That was really helpful. I will keep updating the doc as I learn anything new and ask if I come across any blocker.
Thank you again. Yours sincerely, Riyafa On 10 March 2016 at 13:08, Till Westmann <[email protected]> wrote: > Hi Riyafa, > > there’s no problem with your questions - that’s the right way to go! > It’s also grate that you started to work on a proposal. > > The challenge is just that we can’t always respond fast enough :( > > More replies inline: > > On 9 Mar 2016, at 20:30, Riyafa Abdul Hameed wrote: > > I read through the specification on JSONiq extension to XQuery [1] and >> summarized what needs to be implemented [2]. I am not sure about >> everything >> that I have written there. One is do I have to write a test suite first >> and >> implement for failing test cases? >> > > It would certainly be a good approach to write tests before implementing > the > functionality. For XQuery we got the test suite from the W3C working group, > but for JSONiq we don’t have one. However, I don’t think that a complete > suite is useful upfront. Rather we should add tests for each "feature" > before > implementing the feature. > > Further I would like to know if there is an architecture diagram or class >> diagram (that I could have access to) for VXquery so that I could indicate >> what additional classes and packages that needs to be created in order to >> support JSONiq. If I cannot have access to one I hope it would be fine if >> I >> only mention the additional packages and classes that needs to be created. >> > > I don’t think that there’s a class diagram available. In the past I’ve seen > tools that generate UML from source code, but I think that the diagram > might > become too big to be useful soon. I think that writing things down in text > is fine. > > >> https://uomcse-my.sharepoint.com/personal/riyafa_12_uomcse_lk/_layouts/15/guestaccess.aspx?guestaccesstoken=wGs3s7Dej7aW%2bSDamc1FiAXWCr5lwms6XWeEUzNP8Qo%3d&docid=092fbdb65df334a45b3ebc14175821b47 >> > > A few comments: > - While there is a standalone JSONiq language, we’re really only looking > at the JSONiq extension for XQuery here. > - The update primitives in 5. are not something that we’re considering as > VXQuery has currently no support for the XQuery Update Facility [1]. > - Some additions to the parser are needed as well - e.g the constructors > for objects and arrays and the dynamic function call syntax. > > Does this help? > > Cheers, > Till > > [1] https://www.w3.org/TR/xquery-update-10/ > -- 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>
