spheres
spheres copied to clipboard
fixed missing dependency for string-null? in sxml-parser
Problem:
> (load (spheres/markup sxml-parser))
> (xml-string->sxml "<html><head><title>CIAO</title></head><body background=\"white\"><p>MONDO</p></body></html>")
*** ERROR IN #<procedure #3> -- Unbound variable: spheres/core#base#string-null?
after fix:
> (load (spheres/markup sxml-parser))
> (xml-string->sxml "<html><head><title>CIAO</title></head><body background=\"white\"><p>MONDO</p></body></html>")
(*TOP* (html (head (title "CIAO")) (body (@ (background "white")) (p "MONDO"))))
Awesome!! By the way, I think you have to put the all the imports inside the same import clause:
(import (spheres/core base)
(spheres/string string))
Even if it works, I don't really know if it is expected to.
Sir, it's just the opposite, if I write (import (spheres/core base) (spheres/string string))
then it does not work
That is wrong... something fishy is going on. I'll take a look.