Re: [EXTERNAL] json-ignore-whitespace-text-nodes

Joe Wicentowski <[email protected]>
Newsgroups gmane.text.xml.exist
Message-ID <CAHwerk0JXNreFi2_OJ3pi0FkC26_U0-xoNxFPi8KYH71yxw3jg@mail.gmail.com>
Besides your script not failing, what is the actual expected result?

On Wed, Jan 25, 2023 at 10:03 AM Eduard Drenth <[email protected]>
wrote:

> declare variable $teidictjson:jsonparams := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization">
>
>   <output:method value="json"/>
>   <output:json-ignore-whitespace-text-nodes value="yes"/>
> </output:serialization-parameters>;
>
> fn:serialize(<noresults>no results</noresults>,$teidictjson:jsonparams)
>
> In 6.1.0 the above fails
>
>
>
> Eduard Drenth, Software Architekt
>
>
> [email protected]
>
>
> Doelestrjitte 8
>
> 8911 DX  Ljouwert
> (058) 213 14 14
>
> +31 62 094 34 28
> https://www.fryske-akademy.nl/
> https://frysker.nl/
> https://frisian.eu/
>
> gpg: pgp.key-server.io/pks/lookup?search=eduarddrenth
> ------------------------------
> *From:* Joe Wicentowski <[email protected]>
> *Sent:* Wednesday, January 25, 2023 12:06 PM
> *To:* Harris, Bernard T. (GSFC-5870) <[email protected]>
> *Cc:* Exist-open <[email protected]>
> *Subject:* Re: [Exist-open] [EXTERNAL] json-ignore-whitespace-text-nodes
>
> Could you provide more info? How to reproduce? Expected vs. actual
> results? What version of eXist?
>
> On Wed, Jan 25, 2023 at 5:39 AM Harris, Bernard T. (GSFC-5870) via
> Exist-open <[email protected]> wrote:
>
> I noticed the same thing.  But I was working with RESTXQ (and exist-db
> 6.0.1) for the first time and thought I might need to do things differently
> than the way it had worked in the past.  I would like to know if this is a
> bug or if there is a different way to accomplish the same thing.
>
>
>
> Bernie Harris
>
>
>
> *From: *Eduard Drenth <[email protected]>
> *Date: *Sunday, January 22, 2023 at 11:22 AM
> *To: *Exist-open <[email protected]>
> *Subject: *[EXTERNAL] [Exist-open] json-ignore-whitespace-text-nodes
>
>
>
> json-ignore-whitespace-text-nodes not supported anymore?
>
>
>
>
>
>
>
> Eduard Drenth, Software Architekt
>
>
>
> [email protected]
>
>
>
> Doelestrjitte 8
>
> 8911 DX  Ljouwert
>
> (058) 213 14 14
>
> +31 62 094 34 28
>
> https://www.fryske-akademy.nl/
> <https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.fryske-akademy.nl%2F&data=05%7C01%7CBernard.T.Harris%40nasa.gov%7C0bf6fca97ad74a78833108dafc94d22f%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C638100013365653479%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=GHeHpN59VC5xjXYZv%2FTqgld4HFzVtNe4O0eZnJRM4og%3D&reserved=0>
>
> https://frysker.nl/
> <https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffrysker.nl%2F&data=05%7C01%7CBernard.T.Harris%40nasa.gov%7C0bf6fca97ad74a78833108dafc94d22f%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C638100013365653479%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=VLqoS94QI7sj5wR0WQ%2FLz20atSzleWdn7HMydkykkF0%3D&reserved=0>
>
> https://frisian.eu/
> <https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffrisian.eu%2F&data=05%7C01%7CBernard.T.Harris%40nasa.gov%7C0bf6fca97ad74a78833108dafc94d22f%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C638100013365653479%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=NZHee7QsEXzXI0OmaS7aEhIX%2BTCUlil3o9icruakOGY%3D&reserved=0>
>
> gpg: pgp.key-server.io/pks/lookup?search=eduarddrenth
> _______________________________________________
> Exist-open mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/exist-open
>
> --
> Sent from my iPhone
>

_______________________________________________
Exist-open mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/exist-open
image001.png (image/png, 10.6 KB) - not displayed
Outlook-p10lqgeu.png (image/png, 10.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.