Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed missing dependency for string-null? in sxml-parser #14

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ovenpasta
Copy link
Contributor

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"))))

@alvatar
Copy link
Owner

alvatar commented Oct 22, 2015

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.

@ovenpasta
Copy link
Contributor Author

Sir, it's just the opposite, if I write (import (spheres/core base) (spheres/string string)) then it does not work

@alvatar
Copy link
Owner

alvatar commented Oct 22, 2015

That is wrong... something fishy is going on. I'll take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants