<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.lisp.scheme.gauche">
    <title>gmane.lisp.scheme.gauche</title>
    <link>http://blog.gmane.org/gmane.lisp.scheme.gauche</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1644"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1641"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1638"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1637"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1629"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1627"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1626"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1616"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1610"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1608"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1606"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1604"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1600"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1595"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1593"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1590"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1589"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1585"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1584"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1580"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1644">
    <title>Gauche fails to build on FreeBSD/i386</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1644</link>
    <description>&lt;pre&gt;Hi, folks. I'm trying to build Gauche 0.9.3.2 on FreeBSD, and while
it works fine on amd64 (e.g. passes all tests [1]), it fails on i386
either like this (full log at [2]):

../../src/gosh -ftest ../../src/precomp -e -P -o gauche--collection ../../libsrc/gauche/collection.scm
Deallocating excessively large block.  Too large an allocation?
*** Signal 6

Or prints many error messages like this:

../../src/gosh -ftest ../../src/recomp [..stuff..]
GC Warning: Out of Memory! Heap size: 4 MiB. Returning NULL!
out of memory (2693136576).  aborting...

... and then:

../src/gosh -q -I../src -I../lib -lgauche-init ./extract -en -o gauche-refe.texi ./gauche-ref.texi
gosh: "error": Compile Error: Compile Error: Compile Error: Compile Error: cannot find "util/match" in ("../lib" "../src" "/usr/local/share/gauche/site/lib" "/usr/local/share/gauche/0.9/lib")
"../lib/gauche/condutil.scm":36:(define-module gauche.condutil (use  ...
"../lib/gauche/regexp.scm":106:(define-condition-type &amp;lt;regexp-inval ...
"../lib/gauche/parseo&lt;/pre&gt;</description>
    <dc:creator>Vitaly Magerya</dc:creator>
    <dc:date>2012-05-23T13:24:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1641">
    <title>test sometimes fails,maybe increase number of retries?</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1641</link>
    <description>&lt;pre&gt;Index: gauche-0.9.3.2/test/control.scm
===================================================================
--- gauche-0.9.3.2.orig/test/control.scm2012-03-20 10:07:45.000000000 +0100
+++ gauche-0.9.3.2/test/control.scm2012-05-23 12:57:09.299612417 +0200
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -160,7 +160,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
            (job-status (dequeue/wait! (thread-pool-results pool))))
     (test* "shutdown check" 'finished
            (let retry ([n 0])
-             (cond [(= n 10) #f]
+             (cond [(= n 1000) #f]
                    [(symbol? gate) gate]
                    [else (sys-nanosleep #e1e8) (retry (+ n 1))])))
     )

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>karme&lt; at &gt;karme.de</dc:creator>
    <dc:date>2012-05-23T11:07:26</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1638">
    <title>$ and .$</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1638</link>
    <description>&lt;pre&gt;Hi.
I testing $ macro.

gosh&amp;gt; ($ + $ quotient&amp;amp;remainder 22 4)
5
gosh&amp;gt; ((.$ + quotient&amp;amp;remainder) 22 4)
7

I thought $ is "compose" , but result is different.
I mean:
($ f a b $ g c d $) == (.$ (pa$ f a b ) (pa$ g c d) )

Shuji Yamamoto

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>shuji yamamoto</dc:creator>
    <dc:date>2012-05-12T23:00:40</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1637">
    <title>Another follow-up release</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1637</link>
    <description>&lt;pre&gt;0.9.3 build fails if you specify sjis or eucjp to --enable-multibyte
configuration option.  The fixed version (0.9.3.2) is available now.

http://practical-scheme.net/gauche/index.html

If you compile utf-8 version, you probably don't need to update.

--shiro







------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Shiro Kawai</dc:creator>
    <dc:date>2012-05-11T21:45:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1629">
    <title>Release 0.9.3</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1629</link>
    <description>&lt;pre&gt;Gauche 0.9.3 is released.
Two big changes are (1) lazy sequences/generators and
(2) Windows native thread support.

Detailes release notes are on the webpage:
http://practical-scheme.net/gauche/index.html

For the next release, I aim at adding features for R7RS.

--shiro


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Shiro Kawai</dc:creator>
    <dc:date>2012-05-10T07:21:39</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1627">
    <title>some more makefile.in fixes for out of tree build</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1627</link>
    <description>&lt;pre&gt;diff --git a/doc/Makefile.in b/doc/Makefile.in
index 9b3408e..ddd198a 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -113,10 +113,10 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; gauche-refe.info.gz : gauche-refe.texi
 fi
 
 gauche-refj.html : gauche-refj.texi
-texi2html --init-file=ja-init.pl --number gauche-refj.texi
+texi2html --init-file=$(srcdir)/ja-init.pl --number gauche-refj.texi
 
 gauche-refj_toc.html : gauche-refj.texi
-texi2html --init-file=ja-init.pl --split section --number gauche-refj.texi
+texi2html --init-file=$(srcdir)/ja-init.pl --split section --number gauche-refj.texi
 for f in gauche-refj*.html; do \
   sed 's/^&amp;lt;body lang="en"/&amp;lt;body lang="ja"/' $$f &amp;gt; $$f.t &amp;amp;&amp;amp; mv $$f.t $$f; \
 done

------------------------------------------------------------------------------
Virtualization &amp;amp; Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
&lt;/pre&gt;</description>
    <dc:creator>karme&lt; at &gt;karme.de</dc:creator>
    <dc:date>2012-02-11T12:52:52</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1626">
    <title>typo in makefile.in</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1626</link>
    <description>&lt;pre&gt;diff --git a/doc/Makefile.in b/doc/Makefile.in
index 9b3408e..eccdb5b 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -138,7 +138,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; gauche-refj.info.gz : gauche-refj.texi
 fi
 
 gauche-deve.texi : gauche-dev.texi extract
-$(GOSH) $(extract)/extract -en -o gauche-deve.texi gauche-dev.texi
+$(GOSH) $(srcdir)/extract -en -o gauche-deve.texi gauche-dev.texi
 
 gauche-deve.html : gauche-deve.texi
 texi2html --number gauche-deve.texi

------------------------------------------------------------------------------
Virtualization &amp;amp; Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
&lt;/pre&gt;</description>
    <dc:creator>karme&lt; at &gt;karme.de</dc:creator>
    <dc:date>2012-02-11T12:39:06</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1616">
    <title>stream question / unbound memory?</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1616</link>
    <description>&lt;pre&gt;Hi,

why does the following example seem to need unbound memory?

sh$ { cat &amp;lt;&amp;lt; EOF
#!/bin/sh
#|
GC_PRINT_STATS=1
export GC_PRINT_STATS
exec gosh -- "\$0" "\$&amp;lt; at &amp;gt;"
|#

(use util.stream)

(define (main args)
  (stream-for-each (lambda(x)
                     (write x)
                     (newline))
                   (port-&amp;gt;stream (current-input-port) read))
  0)
EOF
} &amp;gt; test.scm \
&amp;amp;&amp;amp; chmod +x test.scm \
&amp;amp;&amp;amp; seq 10000000\
|./test.scm 2&amp;gt;&amp;amp;1 &amp;gt; /dev/null \
| grep --line-buffered heapsize |cut -f 2 -d "&amp;gt;"

output should be something like:
heapsize = 262144 bytes
heapsize = 786432 bytes
heapsize = 2502656 bytes
heapsize = 3338240 bytes
[...]
heapsize = 44535808 bytes
heapsize = 44535808 bytes
heapsize = 59383808 bytes

greetings,
karme

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Styl&lt;/pre&gt;</description>
    <dc:creator>karme&lt; at &gt;karme.de</dc:creator>
    <dc:date>2012-01-26T10:33:50</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1610">
    <title>Thinking again about parameters in the VM</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1610</link>
    <description>&lt;pre&gt;
"[An] error happens when a parameter is created *after* some
threads are already running, and the parameter is used
in those threads that were already running.  One possible
scenario is like this:

- We have thread A and thread B running.
- Thread A calls (use rfc.http) for the first time.
 This loads http.scm and creates parameters.
 Thread B isn't aware of those parameters.
- Thread B *dynamically* loads some file, say, foo.scm,
 which contains (use rfc.http).  This time http.scm has
 already been loaded, so it's no-op.
- Thread B calls some function defined in foo.scm,
 which in turn makes http call.  The call accesses
 parameters defined in http.scm, but they are not
 visible from B, hence the error.

This won't happen typically, since usually the modules
used by the program is statically stated in `use' form;
so when a thread starts running, all the necessary parameters
are already created.

However, if a module is dynamically loaded (via explicitly
by 'load', or implicitly by autoload), the above scen&lt;/pre&gt;</description>
    <dc:creator>Kirill Zorin</dc:creator>
    <dc:date>2012-01-14T03:52:51</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1608">
    <title>copy-bit-field buggy?</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1608</link>
    <description>&lt;pre&gt;The function copy-bit-field from srfi-60 seems to be buggy.

This is what SCM does:

"1111"
"111"

And this is what Gauche does:
$ gosh -u srfi-60
gosh&amp;gt; (number-&amp;gt;string (copy-bit-field #b1000 -1 0 3) 2)
"1000"
gosh&amp;gt; (number-&amp;gt;string (copy-bit-field #b0000 -1 0 3) 2)
"0"

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
&lt;/pre&gt;</description>
    <dc:creator>Sascha Ziemann</dc:creator>
    <dc:date>2012-01-12T13:10:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1606">
    <title>(integer-&gt;char -1)</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1606</link>
    <description>&lt;pre&gt;The function integer-&amp;gt;char does funny things for -1. This is the
output on my system:

$ gosh
gosh&amp;gt; (integer-&amp;gt;char -1)
#\������
gosh&amp;gt;

Is this intended?

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Gauche-devel mailing list
Gauche-devel&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gauche-devel
&lt;/pre&gt;</description>
    <dc:creator>Sascha Ziemann</dc:creator>
    <dc:date>2012-01-10T14:13:17</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1604">
    <title>DBI example</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1604</link>
    <description>&lt;pre&gt;First: is this the right mailing list for user questions?

If so:

I tried the DBI example from the reference documentation and get the
following error:

*** ERROR: list required, but got #&amp;lt;&amp;lt;mysql-result-set&amp;gt; 0x9b69fa0&amp;gt;

After some further reading I found the collection framework.

For newbies like me it would be useful to add the use statements at
the top of the example:

(use dbi)
(use gauche.collection)

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
&lt;/pre&gt;</description>
    <dc:creator>obscuroloconato&lt; at &gt;googlemail.com</dc:creator>
    <dc:date>2011-12-22T09:04:02</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1600">
    <title>unchecked FD_SETSIZE in fdset operations</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1600</link>
    <description>&lt;pre&gt;Hi,

code in libsys.scm and port.c uses FD_SET, FD_ISSET and friends on 
fdset. It however doesn't check if the descriptor in question is 
smaller then FD_SETSIZE. This in my case results in a segfault of 
the interpreter. I'm not including the fixing patch because the fix 
is rather trivial.

Best regards,
Tomas Stanek

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
&lt;/pre&gt;</description>
    <dc:creator>Tomas Stanek</dc:creator>
    <dc:date>2011-12-20T19:16:00</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1595">
    <title>calling (cgen-precompile scm-file :ext-initializer#t) multiple times</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1595</link>
    <description>&lt;pre&gt;Hi,

using gauche &amp;lt; 0.9.2 i could call
(cgen-precompile scm-file :ext-initializer #t)
multiple times in a row getting expected output

testing with 0.9.2 i found it somehow kept some state (list of modules)

i am not sure wether this is a bug or a feature

as workaround at the moment i use: (maybe shortest explanation to
understand my problem)

;; hackish workaround for bug? in gauche 0.9.2
(when (not (null? (all-tmodules)))
   (class-slot-set! (with-module gauche.cgen.precomp (current-tmodule-class))
                                 'modules
                                 (list)))
(cgen-precompile scm-file :ext-initializer #t)

greetings
karme

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
&lt;/pre&gt;</description>
    <dc:creator>karme&lt; at &gt;karme.de</dc:creator>
    <dc:date>2011-11-06T16:21:58</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1593">
    <title>FreeBSD ports upgrade to 0.9.2 patch</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1593</link>
    <description>&lt;pre&gt;Hello, everyone. My name is Makoto Kishimoto.

FreeBSD ports of Gauche is still 0.9, I sent PR already
( http://www.freebsd.org/cgi/query-pr.cgi?pr=160927 ) .

Attached file is patch for upgrade to 0.9.2 . Anyone who use FreeBSD,
please test the patch and comment.

Thank you.
diff -ru ../gauche-0.9/Makefile ./Makefile
--- ../gauche-0.9/Makefile2011-09-25 08:26:46.000000000 +0900
+++ ./Makefile2011-09-25 22:46:52.000000000 +0900
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -6,7 +6,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 #
 
 PORTNAME=gauche
-PORTVERSION=0.9# Keep databases/gauche-gdbm in sync with this
+PORTVERSION=0.9.2# Keep databases/gauche-gdbm in sync with this
 CATEGORIES=lang scheme
 MASTER_SITES=SF/${PORTNAME}/Gauche/
 DISTNAME=Gauche-${PORTVERSION}
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -48,6 +48,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 INFO=gauche-refe gauche-refj
 .endif
 
+DATADIR=${PREFIX}/share/${PORTNAME}-0.9
+
 .include &amp;lt;bsd.port.pre.mk&amp;gt;
 
 .if (${ARCH} == "ia64") || (${ARCH} == "sparc64")
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -65,12 +67,12 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 
 post-install:
 ${STRIP_CMD} ${PREFIX}/bin/gosh
-${RM} -f ${PREFIX}/share/gauche/${PORTVERSION}/lib/slibcat
-${M&lt;/pre&gt;</description>
    <dc:creator>KISHIMOTO, Makoto</dc:creator>
    <dc:date>2011-09-25T22:26:01</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1590">
    <title>sxpath union operator '|'</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1590</link>
    <description>&lt;pre&gt;Hi,

looks like the sxpath union operator '|' doesn't work?

karme&amp;lt; at &amp;gt;amalthea:~/Downloads/scheme/gauche/git/Gauche/src$ ./gosh -ftest
gosh&amp;gt; (use sxml.sxpath)
#&amp;lt;undef&amp;gt;
gosh&amp;gt; ((sxpath "r/a/text()|r/b/text()") '(*TOP* (r (a "hello") (b "world"))))

XPointer parser error: unexpected - "|r/b/text()"
*** ERROR: invalid application: (#f (*TOP* (r (a "hello") (b "world"))))
Stack Trace:
_______________________________________


but txpath.scm has some code to support it?
txpath.scm:
; Parses a UnionExpr production ([18] in XPath specification)
; [18]    UnionExpr    ::=    PathExpr  
;                             | UnionExpr '|' PathExpr
(define (sxml:parse-union-expr path ns-binding)
...

my try on a unit test:

diff --git a/ext/sxml/test.scm b/ext/sxml/test.scm
index b9a39bb..57f8b8c 100644
--- a/ext/sxml/test.scm
+++ b/ext/sxml/test.scm
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -23,6 +23,13 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
   (test* "ns-trans" '((rss:title "foo"))
          ((sxpath "//my:title" ns-alist) sxml)))
 
+;; test for union operator '|'
+;; compare to:
+;; echo '&amp;lt;r&amp;gt;&amp;lt;a&amp;gt;hell&lt;/pre&gt;</description>
    <dc:creator>Jens Thiele</dc:creator>
    <dc:date>2011-09-18T10:54:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1589">
    <title>0.9.2 is out</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1589</link>
    <description>&lt;pre&gt;Gauche 0.9.2 is released.  Check out the homepage for release notes.

http://practical-scheme.net/gauche/

I thought I made lots of changes, but overall, this is rather
a minor enhancement release with lots of small bug fixes.

One notable improvement is that we switched from NSIS to WiX 
to create Windows installer.  NSIS version was *.exe file
and some heuristic virus checker misidentifies it as a trojan
horse.  It also had a problem that it could smash the value of
PATH if it was too long.  I hope those issues are gone with
this new package.

Gauche-gl is also updated, for it fails to compile with 0.9.2.
Its feature hasn't been changed.

--shiro



------------------------------------------------------------------------------
BlackBerry&amp;amp;reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos &amp;amp; much more. Register early &amp;amp; save!
http://p.sf.net/sfu/ri&lt;/pre&gt;</description>
    <dc:creator>Shiro Kawai</dc:creator>
    <dc:date>2011-08-06T13:24:20</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1585">
    <title>patch to add sys-clearenv and httponly</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1585</link>
    <description>&lt;pre&gt;Here is a simple patch to add sys-clearenv to quickly clear environment
variables and to add httponly to the cookie constructor.  The patch is
against 0.9.1:

diff --git a/ext/auxsys/auxsys.c b/ext/auxsys/auxsys.c
index 663db43..4793a5b 100644
--- a/ext/auxsys/auxsys.c
+++ b/ext/auxsys/auxsys.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -134,6 +134,39 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; ScmObj Scm_Environ(void)
 #endif /*GAUCHE_WINDOWS*/
 }

+#if !defined(HAVE_CLEARENV)
+/*
+ * Grabbed code from
+ *
+ * https://www.securecoding.cert.org/confluence/display/seccode/ \
+ * ENV03-C.+Sanitize+the+environment+when+invoking+external+programs
+ *
+ * and modified it to remove the static local variables.
+ *
+ */
+int clearenv(void) {
+  char *namebuf = NULL;
+
+  while (environ != NULL &amp;amp;&amp;amp; environ[0] != NULL) {
+    size_t len = strcspn(environ[0], "=");

+    if (len == 0) {
+      return -1;
+    }
+    namebuf = (char *)malloc(len + 1);
+    if (namebuf == NULL) {
+      return -1;
+    }
+    memcpy(namebuf, environ[0], len);
+    namebuf[len] = '\0';
+    if (unsetenv(namebuf) == -1)&lt;/pre&gt;</description>
    <dc:creator>john&lt; at &gt;greenjeans.com</dc:creator>
    <dc:date>2011-07-08T06:24:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1584">
    <title>Is 'read' a security problem?</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1584</link>
    <description>&lt;pre&gt;A client sends commands to a server as a series of s-expressions. 
The server uses 'read' to collect them. Is that already a security
problem?

The server does *not* use 'eval' but dissects the read 
expressions by itself. So that should not be a problem, as long 
as I do not make a mistake.

But what about special syntax, like sharp syntax? I have come so 
far to realize that I can introduce potentially dangerous 
elements using 'define-reader-ctor', so I will avoid that.

Am I on the safe side then?

If not, is there a kind of '(read :safe? #t)' that will ignore 
all kinds of "active" content provided by the client?

Thank you very much!
Lasse
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splun&lt;/pre&gt;</description>
    <dc:creator>Lasse Kliemann</dc:creator>
    <dc:date>2011-07-03T10:19:39</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1580">
    <title>Gauche logo merchandise?</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1580</link>
    <description>&lt;pre&gt;It would probably be fun to be able to purchase Gauche logo merchandise
(T-shirts, sweatshirts, mouse pads, mugs, etc.), similarly to, say,
Haskell logo merchandise (see "Merchandise - HaskellWiki" at
http://www.haskell.org/haskellwiki/Merchandise).

CafePress.com (see http://www.cafepress.com/) manufactures and sells
custom logo-related merchandise; it even features an online design tool
with the ability to upload images.  Basically, besides basic ordering
information, all that is needed to create a custom design product is a
logo.

Such merchandise could also be helpful for attracting attention to
Gauche and expanding the number of users.

I would definitely be interested in Gauche-related merchandise.  Would
anybody else also be interested?

&lt;/pre&gt;</description>
    <dc:creator>Benjamin L. Russell</dc:creator>
    <dc:date>2011-06-01T05:55:47</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1578">
    <title>"Gaucheプログラミング(立読み版) - Karetta" site is down</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1578</link>
    <description>&lt;pre&gt;Today I just installed Gauche-mingw-0.9.1 on a different computer from
before, and tried to start writing a small application in it, but when I
tried to read your online book "Gaucheプログラミング(立読み版) -
Karetta" ("Gauche Programming (Browsing Edition) - Karetta") (see
http://karetta.jp/) for reference, to my dismay, the service was down,
effective March 13, because of the recent earthquake!

My apartment in Tokyo is extremely cramped, without sufficient table
space to read a book and type on a computer at the same time, so I would
very much prefer to read an on-line version if at all possible.

I also tried to install "Gauchebox-0.9.1-box1.exe", which installs
sample code of the book _Programming Gauche_, but according to the
section entitled "Windows Binary Installer" on "Gauche - A Scheme
Implementation" (see http://practical-scheme.net/gauche/download.html),
the package is still "in preparation."

Is there any way to read an on-line book about programming in Gauche?
Ideally, if there were&lt;/pre&gt;</description>
    <dc:creator>Benjamin L. Russell</dc:creator>
    <dc:date>2011-05-20T11:02:59</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.lisp.scheme.gauche">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.lisp.scheme.gauche</link>
  </textinput>
</rdf:RDF>

