IRC channel logs

2013-07-04.log

back to list of logs

<dsmith>mark_weaver, Heya
<dsmith>mark_weaver, The other day, I built master and there was an error. You pointed out it was with some state from a previous test.
<dsmith>That was NOT the rtl.test right? it was sxml?
<mark_weaver>yes, I was talking about the sxml.simple tests.
<mark_weaver>I don't know anything about the rtl.test issues.
<mark_weaver>but given the transitional state of the rtl code in master, I wouldn't worry too much over it.
<dsmith>ok
<rlb>dsmith: 2.0.9+1-1 uploaded to unstable -- building on the autobuilders now
<nalaginrut>morning guilers~
<nalaginrut>I wish guix -A has better indent...
<dsmith>rlb, Whooo!!
<civodul>Hello Guilers!
<janneke>Morning civodul
*janneke wonders each time if he's a guiler...
<civodul>janneke: of course you are! :-)
<civodul>after all these years lilyponding ;-)
<janneke>civodul: thanks ;-/
<stis>morning guilers!
<taylanub>Good afternoon!
<stis>Have we got any tools around xml schema?
<taylanub>If SXML can't do that then I don't know but nicferrier mentioned some Guile 1.8 libxml bindings which could perhaps be ported to 2.x.
<stis>Authoring xml schema can od cause be done by sxml, but
<stis>validating and mapong the strings to schem objects is another thing.
<taylanub>"od cause" -> "of course" ??
<stis>yes!
<stis>:-)
<taylanub>Yay :P
<stis>libxml2 does handle validation!
<taylanub>Hrm, I guess I don't know enough about XML/SXML to understand what you need.
<taylanub>But yeah, perhaps look into those legacy libxml2 bindings .. if I can find the link ..
<stis>well if you want to specify a scheme you will need when writing to have a good debugger
<stis>else it's very error prone and I've seen to much buggy xsd files to trust sxml only on that
<taylanub> https://savannah.nongnu.org/projects/guilexmlxsl/
<stis>cool! I'll check it out!
<taylanub>It's 10 years old or so, not sure if porting that will be any better than a rewrite. :\\
<stis>The underlying library should be up to date, interfacing to that should be swift though!
<stis>Anyway, to compare if you have say java, getting an schema file you can generate classes and translators
<stis>so that you get dirrectly the data out of the xml without writying a parser, kind of nifty.
<stis>I wouldl ike to have similar tools for guile/scheme
<taylanub>I see, that sounds nice indeed.
<taylanub>I think someone implemented XCB in Guile by using all those XML files from X11, maybe take a look at that too ...
<taylanub>Not sure if really relevant.
<stis>I actually mailed him, he would like such a tool but he hust wrote the translator manually
<stis>hust -> just
<taylanub>Ah I see.
<stis>Maybe I'll try to code that logic up in some nice scheme. But the spec is for xml-schema is quite complex
<stis>I'll try to find some nice subset to start with.
<civodul>you could implement your own validation with sxml-match :-)
<civodul>but i think sxml has something for that
<nalaginrut>civodul: why guix try to fetch a tarball when it finished compiled?
<civodul>nalaginrut: that's the "bootstrap binary" of Guile, which is needed to bootstrap all the build chain
<nalaginrut>civodul: I'm trying to package guix in OBS, but the environment seems don't have a network to fetch thing outer space, https://build.opensuse.org/package/live_build_log/home:NalaGinrut/guix/openSUSE_12.2/i586
<civodul>ah, then you can download by yourself instead
<nalaginrut>so I have to include all the packages in the original tarball?
<civodul>nalaginrut: see the rules for gnu/packages/bootstrap/x86_64-linux/guile-2.0.7.tar.xz & co. in Makefile.am
<civodul>that's the only tarball that's downloaded
<nalaginrut>OK, I see
<nalaginrut>thanks
<civodul>(there's a #guix channel, BTW ;-))
<nalaginrut>alright
<stis>civodul, the SSAX parser is extensible, and for many cases yuo can hook in your own translator functions
<stis>But I have not seen a xml translotor based on a xsd
<stis>civodul: ^^
<stis>civodul: sxml-match is really nice, nut sure if it allows you to get similar facilities like PEG abilities.
<stis>Do you know?
<civodul>i don't know PEG sufficiently well
<stis>Anyway I think that one wouldlike to have a parser generator to do this.
***rlb` is now known as rlb
***jao` is now known as jao