Fork me on GitHub
#clojure-europe
<
2023-01-31
>
grav07:01:33

Good morning

simongray08:01:57

Good morning

schmalz10:01:49

Morning all.

ray10:01:55

Good Boro morning

🦢 2
ray22:01:10

Good night

otfrom14:01:30

what would you use to extract a schema/dtd like thing out of an xml document?

simongray14:01:41

Do you just need the data in <xs:schema>?

otfrom14:01:14

it doesn't have a schema so I need one that will infer an incomplete one from the doc I have

otfrom14:01:28

(which I could do myself, but I was hoping someone had done it for me 😉 )

otfrom14:01:08

schema, relaxng, dtd, whatever

otfrom14:01:21

been aaaaaages since I've done any xml and all the links are about that old

simongray14:01:38

so something like spec-provider for XML?

otfrom14:01:46

that sounds about right

simongray14:01:18

hm… can’t help with that 🤷

simongray14:01:53

but it sounds like a useful library…

otfrom14:01:19

I see what you are trying to do.... 😉

dominicm14:01:21

there's a few of these on github, I haven't tried them but saw them recently while looking for something unrelated

otfrom14:01:00

my google skills are just giving me old out of date sourceforge projects, so even some github pointers would be great

dominicm14:01:11

I found them searching on GitHub itself for "XML xsd"

dominicm14:01:14

Stuff like that

Rachel Westmacott16:01:41

Hello lovely Europeans! (and equally to any mislocated interlopers!) Does anyone want to share their structured logging setup for Clojure with me?

otfrom08:02:59

I'm still hoping someone might answer this or that you share an answer you get in another channel as I'm interested

simongray08:02:15

I haven’t really gotten to it yet… Logging is one of those things that eludes me. In theory, I would just plug in to the Java logging system that most libraries seem to already use, but I am still confused how to best accomplish this. I have long had my eyes on https://github.com/BrunoBonacci/mulog since it seems like a great Clojure logging system and I find the possibilities of a https://github.com/ont-app/graph-log intriguing, although I have no real use for graph searches in that space.

simongray08:02:46

What I mostly end up using is Pedestal Log and the https://github.com/lambdaisland/glogi of that logging interface.

simongray08:02:59

The real source of confusion is how to deal with multiple different libs all logging in different ways at the same time…

jasonbell09:02:53

Just standard logging, https://github.com/ptaoussanis/timbre Timbre, every time. Never let me down.