From luca at pca.it Wed Feb 2 10:23:15 2005 From: luca at pca.it (Luca Capello) Date: Wed, 02 Feb 2005 11:23:15 +0100 Subject: [s-xml-devel] Simple character sets: what does it mean? Message-ID: <87acqnmfak.fsf@gismo.pca.it> Hello! In order to let s-xml enter in Debian, I had been asked for the meaning of the limitation of s-xml in supportin "simple character sets" [1]. AFAIK, the only explanation I found is the same provided in the MySQL Reference Manual [2]: ===== If the character set does not need to use special string collating routines for sorting and does not need multi-byte character support, it is simple. If it needs either of those features, it is complex. ===== Am I correct? Thx, bye, Gismo / Luca [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=292643 [2] http://dev.mysql.com/doc/mysql/en/adding-character-set.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 188 bytes Desc: not available URL: From sven at beta9.be Thu Feb 3 09:48:17 2005 From: sven at beta9.be (Sven Van Caekenberghe) Date: Thu, 3 Feb 2005 10:48:17 +0100 Subject: [s-xml-devel] [PATCH] Add ChangeLog Message-ID: <6f5d9d7d2fb15b918ad3de32aeefcfbf@beta9.be> Luca, Thanks for the patch, I was actually planning on doing this, now I had no reasons left to postpone it ;-) Sven On 30 Jan 2005, at 20:06, Luca Capello wrote: > Hello! > > This is my second post, actually, but anyway, I'd like to say hello > all on this list. > > As I previously posted, attached a patch that add a ChangeLog to the > latest CVS sources. It is completely derived from the S-XML site [1]. > > Thx, bye, > Gismo / Luca > > [1] http://common-lisp.net/project/s-xml/ > diff -Naur s-xml.ORG/ChangeLog s-xml/ChangeLog > --- s-xml.ORG/ChangeLog 1970-01-01 01:00:00.000000000 +0100 > +++ s-xml/ChangeLog 2005-01-30 19:52:12.000000000 +0100 > @@ -0,0 +1,22 @@ > +13 Jan 2004 Sven Van Caekenberghe > + * Release 3 > + * added ASDF systems > + * optimized print-string-xml > + > +10 Jun 2003 Sven Van Caekenberghe > + * Release 2 > + * added echo-xml function: we are no longer taking the car when > + the last seed is returned from start-parse-xml > + > +25 May 2003 Sven Van Caekenberghe > + * Release 1 > + * first public release of working code > + * tested on OpenMCL > + * rewritten to be event-based, to improve efficiency and to > + optionally use different DOM representations > + * more documentation > + > +end of 2002 Sven Van Caekenberghe > + * Release 0 > + * as part of an XML-RPC implementation > + > _______________________________________________ > s-xml-devel site list > s-xml-devel at common-lisp.net > http://common-lisp.net/mailman/listinfo/s-xml-devel From scaekenberghe at common-lisp.net Thu Feb 3 09:52:46 2005 From: scaekenberghe at common-lisp.net (Sven Van Caekenberghe) Date: Thu, 3 Feb 2005 10:52:46 +0100 Subject: [s-xml-devel] Simple character sets: what does it mean? In-Reply-To: <87acqnmfak.fsf@gismo.pca.it> References: <87acqnmfak.fsf@gismo.pca.it> Message-ID: <2a8e07a0389fdbade88dc9160133af59@common-lisp.net> On 02 Feb 2005, at 11:23, Luca Capello wrote: > Hello! > > In order to let s-xml enter in Debian, I had been asked for the > meaning of the limitation of s-xml in supportin "simple character > sets" [1]. > > AFAIK, the only explanation I found is the same provided in the MySQL > Reference Manual [2]: > ===== > If the character set does not need to use special string collating > routines for sorting and does not need multi-byte character support, > it is simple. > > If it needs either of those features, it is complex. > ===== > > Am I correct? > > Thx, bye, > Gismo / Luca > > [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=292643 > [2] http://dev.mysql.com/doc/mysql/en/adding-character-set.html Well, the limitation in S-XML is that I/we did not yet make any effort to support anything but the basic CL character type (and string or stream type). But in a CL implementation that makes all characters, strings and streams unicode, that should solve most problems, I think. So it more or less depends on the underlying CL - with the restriction that full unicode support has not yet been proven as far as I know. Sven From sven at beta9.be Thu Feb 3 09:48:17 2005 From: sven at beta9.be (Sven Van Caekenberghe) Date: Thu, 3 Feb 2005 10:48:17 +0100 Subject: [s-xml-devel] [PATCH] Add ChangeLog In-Reply-To: <87d5vmspmf.fsf@gismo.pca.it> References: <87d5vmspmf.fsf@gismo.pca.it> Message-ID: Luca, Thanks for the patch, I was actually planning on doing this, now I had no reasons left to postpone it ;-) Sven On 30 Jan 2005, at 20:06, Luca Capello wrote: > Hello! > > This is my second post, actually, but anyway, I'd like to say hello > all on this list. > > As I previously posted, attached a patch that add a ChangeLog to the > latest CVS sources. It is completely derived from the S-XML site [1]. > > Thx, bye, > Gismo / Luca > > [1] http://common-lisp.net/project/s-xml/ > diff -Naur s-xml.ORG/ChangeLog s-xml/ChangeLog > --- s-xml.ORG/ChangeLog 1970-01-01 01:00:00.000000000 +0100 > +++ s-xml/ChangeLog 2005-01-30 19:52:12.000000000 +0100 > @@ -0,0 +1,22 @@ > +13 Jan 2004 Sven Van Caekenberghe > + * Release 3 > + * added ASDF systems > + * optimized print-string-xml > + > +10 Jun 2003 Sven Van Caekenberghe > + * Release 2 > + * added echo-xml function: we are no longer taking the car when > + the last seed is returned from start-parse-xml > + > +25 May 2003 Sven Van Caekenberghe > + * Release 1 > + * first public release of working code > + * tested on OpenMCL > + * rewritten to be event-based, to improve efficiency and to > + optionally use different DOM representations > + * more documentation > + > +end of 2002 Sven Van Caekenberghe > + * Release 0 > + * as part of an XML-RPC implementation > + > _______________________________________________ > s-xml-devel site list > s-xml-devel at common-lisp.net > http://common-lisp.net/mailman/listinfo/s-xml-devel From luca at pca.it Thu Feb 3 22:26:51 2005 From: luca at pca.it (Luca Capello) Date: Thu, 03 Feb 2005 23:26:51 +0100 Subject: [s-xml-devel] Simple character sets: what does it mean? In-Reply-To: <2a8e07a0389fdbade88dc9160133af59@common-lisp.net> References: <87acqnmfak.fsf@gismo.pca.it> <2a8e07a0389fdbade88dc9160133af59@common-lisp.net> Message-ID: <87zmyl1dqs.fsf@gismo.pca.it> Hi Sven! On Thu 03 Feb 2005 10:52, Sven Van Caekenberghe wrote: > Well, the limitation in S-XML is that I/we did not yet make any effort > to support anything but the basic CL character type (and string or > stream type). But in a CL implementation that makes all characters, > strings and streams unicode, that should solve most problems, I > think. So it more or less depends on the underlying CL - with the > restriction that full unicode support has not yet been proven as far > as I know. Thank you for the explanation. I included a README.Debian file in the Debian package, but IMHO it should be better to include a README in the upstream S-XML. ASAP I'll submit a patch ;-) Here it is: ===== README for the Debian cl-s-xml package -------------------------------------- * Supported character sets While S-XML authors do not make any efforts to support anything but the basic Common Lisp character type (and string or stream type), any character set which is implemented by the underlying Common Lisp should be supported by S-XML as well. -- Luca Capello , Thu, 3 Feb 2005 22:36:33 +0100 ===== Thx, bye, Gismo / Luca -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 188 bytes Desc: not available URL: From scaekenberghe at common-lisp.net Sun Feb 6 19:01:56 2005 From: scaekenberghe at common-lisp.net (Sven Van Caekenberghe) Date: Sun, 6 Feb 2005 20:01:56 +0100 Subject: [s-xml-devel] Release 5 Message-ID: Hi All, I made a 'new' release of S-XML (after some project housekeeping I made a new tgz ;-). There is now a ChangeLog: * release 5 (cvs tag RELEASE_5) * added :start and :end keywords to print-string-xml * fixed a bug: in a tag containing whitespace, like the parser collapsed and ingnored all whitespace and considered the tag to be empty! this is now fixed and a unit test has been added * cleaned up xml character escaping a bit: single quotes and all normal whitespace (newline, return and tab) is preserved a unit test for this has been added * IE doesn't understand the ' XML entity, so I've commented that out for now. Also, using actual newlines for newlines is probably better than using #xA, which won't get any end of line conversion by the server or user agent. I tested this only on LispWorks 4.4 (Mac OS X) using plain ASDF. Let me know if something is broken on some other platform. Sven From scaekenberghe at common-lisp.net Mon Feb 14 17:45:59 2005 From: scaekenberghe at common-lisp.net (Sven Van Caekenberghe) Date: Mon, 14 Feb 2005 18:45:59 +0100 Subject: [s-xml-devel] Request for testing Message-ID: I recently made some commits to the CVS version, described as: ported to clisp 2.32 (sysdeps) changed end-of-header test to accept empty lines as well changed usage to princ to write-string where possible fixed a test (added import, unintern code to/from s-xml-rpc-exports) Could somebody else please confirm that I didn't break anything on platforms that I don't use (among others, CMUCL, SBCL, Windows, ..) ? I would like to make a new release and sync up the documentation a bit. Sven