I can certainly imagine that as a BaseX feature YAML parsing has to be pretty low on the list.
There’s got to be a Java library that does it but then somebody has to integrate that library, document it, test it, maintain it…. I was really just curious about a pure-XQuery YAML parser implementation… Cheers, E. _____________________________________________ Eliot Kimber Sr Staff Content Engineer O: 512 554 9368 M: 512 554 9368 servicenow.com<https://www.servicenow.com> LinkedIn<https://www.linkedin.com/company/servicenow> | Twitter<https://twitter.com/servicenow> | YouTube<https://www.youtube.com/user/servicenowinc> | Facebook<https://www.facebook.com/servicenow> From: BaseX-Talk <basex-talk-boun...@mailman.uni-konstanz.de> on behalf of Imsieke, Gerrit, le-tex <gerrit.imsi...@le-tex.de> Date: Tuesday, July 26, 2022 at 12:15 PM To: basex-talk@mailman.uni-konstanz.de <basex-talk@mailman.uni-konstanz.de> Subject: Re: [basex-talk] BaseX YAML Parser? [External Email] Reminder: There was a thread and an issue two years ago: https://urldefense.com/v3/__https://www.mail-archive.com/basex-talk@mailman.uni-konstanz.de/msg12959.html__;!!N4vogdjhuJM!BfipaxLl4P_AvdLvvTZq3y877Yin3ak5iI3-B2mVi-_BX1VbuTFnw-tDZOLLGNm2WhcYZL7E53cz0Fg1rHgh-54lhTdJGDNpAQ$<https://urldefense.com/v3/__https:/www.mail-archive.com/basex-talk@mailman.uni-konstanz.de/msg12959.html__;!!N4vogdjhuJM!BfipaxLl4P_AvdLvvTZq3y877Yin3ak5iI3-B2mVi-_BX1VbuTFnw-tDZOLLGNm2WhcYZL7E53cz0Fg1rHgh-54lhTdJGDNpAQ$> https://urldefense.com/v3/__https://github.com/BaseXdb/basex/issues/1921__;!!N4vogdjhuJM!BfipaxLl4P_AvdLvvTZq3y877Yin3ak5iI3-B2mVi-_BX1VbuTFnw-tDZOLLGNm2WhcYZL7E53cz0Fg1rHgh-54lhTerzlq9TQ$<https://urldefense.com/v3/__https:/github.com/BaseXdb/basex/issues/1921__;!!N4vogdjhuJM!BfipaxLl4P_AvdLvvTZq3y877Yin3ak5iI3-B2mVi-_BX1VbuTFnw-tDZOLLGNm2WhcYZL7E53cz0Fg1rHgh-54lhTerzlq9TQ$> Christian rejected it (much effort, few users). Gerrit On 26.07.2022 15:36, Hans-Juergen Rennau wrote: > Strong, strong backing from the Western Fankurve (the cheap places under > no roof and without seats) for Eliot's request! BaseX, we all know it, > is a miracle of data integration (once one has discovered the secret of > json:doc(), html:doc(), csv:doc()), and YAML is missing! I believe that > it is far from trivial (although the common use of YAML would be > trivial, but the devil might be in the specified detail), yet it would > be really great if BaseX found a way to fill this gap. OpenAPI is > sometimes supplied only in YAML! Waving my flag! - Hans-Jürgen > > Am Dienstag, 26. Juli 2022 um 15:25:29 MESZ hat Marco Lettere > <m.lett...@gmail.com> Folgendes geschrieben: > > > Hi Elliot, > > I remember having asked info about a possible YAML serialization format > on the Slack Xml.com channel one year ago. > > They don't really have a nice opinion about Yaml and no-one looked > really interested in supporting it. > > Thus I think there are philosophy matters here :-) > > M. > > On 26/07/22 15:11, Eliot Kimber wrote: > > I found myself needing to operate on some YAML documents and tried to > find an XQuery YAML parser and did not find one, at least not one of > sufficient completeness. > > It seems like kind of an obvious missing thing in the XQuery world so > just curious if I missed something? > > I don’t have time myself to write one—it can’t be that hard but it’s not > that critical of a need for me. I ended up using the Python PyYAML > library, which let me quickly convert YAML to JSON, which then I could > of course process just fine with XQuery. > > Thanks, > > E. > > _____________________________________________ > > *Eliot Kimber* > > Sr Staff Content Engineer > > O: 512 554 9368 > > M: 512 554 9368 > > servicenow.com <https://www.servicenow.com> > > LinkedIn > <https://urldefense.com/v3/__https://www.linkedin.com/company/servicenow__;!!N4vogdjhuJM!BfipaxLl4P_AvdLvvTZq3y877Yin3ak5iI3-B2mVi-_BX1VbuTFnw-tDZOLLGNm2WhcYZL7E53cz0Fg1rHgh-54lhTfcXHAq2g$ > > | Twitter > <https://urldefense.com/v3/__https://twitter.com/servicenow__;!!N4vogdjhuJM!BfipaxLl4P_AvdLvvTZq3y877Yin3ak5iI3-B2mVi-_BX1VbuTFnw-tDZOLLGNm2WhcYZL7E53cz0Fg1rHgh-54lhTd08g8oaA$ > > | YouTube > <https://urldefense.com/v3/__https://www.youtube.com/user/servicenowinc__;!!N4vogdjhuJM!BfipaxLl4P_AvdLvvTZq3y877Yin3ak5iI3-B2mVi-_BX1VbuTFnw-tDZOLLGNm2WhcYZL7E53cz0Fg1rHgh-54lhTfW50_3PA$ > > | Facebook > <https://urldefense.com/v3/__https://www.facebook.com/servicenow__;!!N4vogdjhuJM!BfipaxLl4P_AvdLvvTZq3y877Yin3ak5iI3-B2mVi-_BX1VbuTFnw-tDZOLLGNm2WhcYZL7E53cz0Fg1rHgh-54lhTcZ2sif5g$ > > >