Hi,

I have made a new PR[1] with the suggested changes.

Thank you.

Yours sincerely,
Riyafa

On 19 July 2016 at 14:08, Riyafa Abdul Hameed <[email protected]>
wrote:

> Hi,
>
>
> I have come across an issue when serializing if an XML node is found as a
> value in an object: According the specification[1], it should be serialized
> "according to the xml output method and the corresponding serialization
> parameters ". This does not mention that the resulting value should be
> quoted. I came across the following object:
>
> {
>     "attribute" : <a attr="content"/>
> }
>
> If this is serialized with quotes for the value:
>
> {
>     "attribute":"<a attr="content"/>"
> }
>
> which is invalid json.
>
> How should such a case be handled?
>
> [1]
> http://jsoniq.org/docs/JSONiqExtensionToXQuery/html-single/index.html#idm139680637468832
>
> Thank you.
>
> Yours sincerely,
> Riyafa
>
> On 19 July 2016 at 13:50, Riyafa Abdul Hameed <[email protected]>
> wrote:
>
>> Hi,
>>
>> I have extended the testing to all data types[1]. As for the comments I
>> am not sure I understand what needs to be alphabetized and I don't see any
>> used for a Switch statement. Please kindly help me understand.
>>
>> [1] https://github.com/apache/vxquery/pull/101
>>
>> Thank you.
>>
>> Yours sincerely,
>> Riyafa
>>
>> On 18 July 2016 at 00:09, Preston Carman <[email protected]> wrote:
>>
>>> I posted a few comments. Please extend the testing for all data types.
>>>
>>> Thanks
>>>
>>> On Sun, Jul 17, 2016 at 6:35 AM, Riyafa Abdul Hameed <
>>> [email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> I have attempted to fix the issues related to JSON serialization[1].
>>>> Please suggest if there's any other types that need not be quoted in json
>>>> value.
>>>>
>>>> [1] https://github.com/apache/vxquery/pull/101
>>>>
>>>>
>>>> Thank you.
>>>>
>>>> Yours sincerely,
>>>> Riyafa
>>>> --
>>>> 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>
>>>>
>>>
>>>
>>
>>
>> --
>> 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>
>>
>
>
>
> --
> 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>
>



-- 
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>

Reply via email to