Interestingly, it looks like this change is a deliberate one, made by Ryan 
Culpepper back in 2011. Here’s the relevant commit:

commit 738bf41d106f4ecd9111bbefabfd78bec8dc2202
Author: Ryan Culpepper <ry...@racket-lang.org>
Date:   Tue Nov 22 02:46:32 2011 -0700

    bypass ssax/ssax module
    trim exports from main (breaks backwards compat!)

diff --git a/main.rkt b/main.rkt
index bf3530d..89f27d3 100644
--- a/main.rkt
+++ b/main.rkt
@@ -27,5 +27,11 @@
 (provide (all-from-out "modif.rkt"))
 (provide (all-from-out "serializer.rkt"))
 
-(require "ssax/ssax.rkt")
-(provide (all-from-out "ssax/ssax.rkt"))
+(require "ssax/multi-parser.rkt"
+         "ssax/sxpathlib.rkt"
+         "ssax/SXML-tree-trans.rkt"
+         "ssax/SSAX-code.rkt")
+(provide ssax:multi-parser
+         (all-from-out "ssax/sxpathlib.rkt")
+         pre-post-order
+         ssax:xml->sxml)

Ryan, do you know why you put ssax:multi-parser in, but not ssax:make-parser? 

Cheers!

John


> On May 15, 2018, at 6:42 AM, N. Raghavendra <nyraghu27...@gmail.com> wrote:
> 
> I was trying out Oleg Kiselyov's example
> 
> http://okmij.org/ftp/Scheme/remove-markup.scm
> 
> which illustrates the use of `ssax:make-parser'.  I have a couple of
> questions:
> 
> 1. To call ssax-make-parser, I had to require both sxml and
> sxml/ssax/ssax.  Is that the correct way of doing it?
> 
> 2. It seems an important function, and I was wondering why the sxml
> module does not provide it, the way it does ssax:xml->sxml, so that one
> doesn't need to further require sxml/ssax/ssax.  I see that sxml
> provides ssax:multi-parser.  Is it similar to ssax:make-parser?
> 
> Thanks,
> Raghu.
> 
> --
> N. Raghavendra <ra...@hri.res.in>, http://www.retrotexts.net/
> Harish-Chandra Research Institute, http://www.hri.res.in/
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to