Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-05

[ANN] Sablopas 0.6 available

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Christophe

Hello

Sablopas 0.6 is now available. Sablopas is an Object Pascal Wrapper for Sablotron and can be compiled by Borland compilers and Free Pascal under Windows and Linux.

This is a major release with a lot of new features. I now provides extension for SAX (written by Jeff Rafter), for XPath and my wrapper for Curl, Op-Curl. By using OP-Curl, the user is able to use several protocols and to perform XSLT process on network documents. Op-Curl is simpler and has less functions than CurlPas. Op-Curl was designed to work with Sablopas.

I wrote two how-to to explain how to use Sablopas with Op-Curl and how-to trigger queries on dom trees built with Open XML. Read me and generic how-to are also available.

I have a problem with my Linux station and some changes have not been tested under Kylix or Free Pascal. If someone can quickly test Sablopas under Linux and report results it would be nice. Contributors, translators and doc writers are welcome.

Links available at http://www.tekool.com

Enjoy Open Source software :-)

Christophe

Reply by email

Marco van de Voort
to Christophe
I have a problem with my Linux station and some changes have not been tested under Kylix or Free Pascal.

Building on FreeBSD
-------------------

Linking to sabotron assumes specifically GNU extensies in the libc, not merely standards compliant libc.

Add
{$ifdef BSD}
 {$LINKLIB m}
 {$LINKLIB iconv}
{$endif}

Below every occurance of {$LINKLIB sablotron}

Results on FreeBSD:
---------------------

sablocurl doesn't do anything. It seems to try to FTP anonymously to localhost !??!

su-2.05a# ./sablopas demo.xsl input.xml blaat.html /

Sablopas : Sablotron : [msgtype:error] [code:58] could not open document ':/demo.xsl'

su-2.05a# ./sablopas demo.xsl input.xml blaat.html .

Sablopas : Sablotron : [msgtype:error] [code:58] could not open document ':/demo.xsl'

su-2.05a# ./sablopas demo.xsl input.xml blaat.html

Sablopas : Sablotron : [msgtype:error] [code:58] could not open document 'ftp://localhost/doc.xml' at line 17

Reply by email

Christophe

Hello, Marco

> I have a problem with my Linux station and some changes have not been

tested

> under Kylix or Free Pascal. Building on FreeBSD

I'm happy someone built it under FreeBsd. Does Sablopas works well ? An OP-Curl alone ?

Linking to sabotron assumes specifically GNU extensies in the libc, not merely standards compliant libc.

I will add your code to the new release.

sablocurl doesn't do anything. It seems to try to FTP anonymously to localhost !??!

Yes. I forgot to add the fact that the documents in the demo directory must be copied to an ftp server and the developper must change the URL and the login/password in the code. I was writing a complete console demo with paramaters when my Linux station crashed due to X. So I release as is without fine testing the SabloCurl demo. Feel free to provide changed code. I will add this to the how-to on my web site.

Thanks for report.

Christophe

Reply by email

Marco van de Voort
to Christophe
>Building on FreeBSD I'm happy someone built it under FreeBsd. Does Sablopas works well ? An OP-Curl alone ?

None actually do something. See the actual output of sablopas in the last msg.

>Linking to sabotron assumes specifically GNU extensies in the libc, not >merely standards compliant libc. I will add your code to the new release.

Ok. The FreeBSD port is quite simple. If your Linux port is principally sound, it is only some minor changes.

Show quoted text 9 lines
>sablocurl doesn't do anything. It seems to try to FTP anonymously to >localhost !??! Yes. I forgot to add the fact that the documents in the demo directory must be copied to an ftp server and the developper must change the URL and the login/password in the code. I was writing a complete console demo with paramaters when my Linux station crashed due to X. So I release as is without fine testing the SabloCurl demo. Feel free to provide changed code. I will add this to the how-to on my web site.

I see it load demo.xml, but after that nothing happens. It tries to access something on filedescriptor 4 after that, but gets access denies as answer.

Reply by email