Re: Efficient C++ XML validating parser?

2008-03-06 Thread Shachar Shemesh

Amos Shapira wrote:


Another one is CodeSynthesis XSD
(http://www.codesynthesis.com/products/xsd/), it's GPL so we we can't
link it with our proprietary code.

  
gcc is also GPL, and yet you can link the programs you compile with it 
to your proprietary code.


Is it GPL, or is its output GPL?

Shachar

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Efficient C++ XML validating parser?

2008-03-06 Thread Shachar Shemesh

Shachar Shemesh wrote:


Amos Shapira wrote:


Another one is CodeSynthesis XSD
(http://www.codesynthesis.com/products/xsd/), it's GPL so we we can't
link it with our proprietary code.

  


Is it GPL, or is its output GPL?
Having said that (and it makes sense that such a program will have GPL 
output as well), that is exactly the reason the GPL is so popular. If 
you want to take but not give back, pay someone for the privilege. 
Otherwise, you can have your implementation for free.


Shachar

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Efficient C++ XML validating parser?

2008-03-06 Thread Amos Shapira
On Thu, Mar 6, 2008 at 9:04 AM, Shachar Shemesh [EMAIL PROTECTED] wrote:

 Amos Shapira wrote:

  Another one is CodeSynthesis XSD
  (http://www.codesynthesis.com/products/xsd/), it's GPL so we we can't
  link it with our proprietary code.
 
 
 gcc is also GPL, and yet you can link the programs you compile with it
 to your proprietary code.

 Is it GPL, or is its output GPL?


I know what GPL means - and we can't link the output of their code together
with our proprietary code without paying them tens of thousands of dollar
for the right to do so.

--Amos


Re: Efficient C++ XML validating parser?

2008-03-06 Thread Amos Shapira
On Wed, Mar 5, 2008 at 10:43 AM, Shachar Shemesh [EMAIL PROTECTED]
wrote:

 Without knowing Xerces too deeply, I think you can do MUCH faster than
 it, by feeding the schema before hand. Theoretically (though, the last
 time I said this word on this list an actual project came out [1]), you
 can write a parser that receives the schema, and produces yacc (or
 bison++) output for parsing it. That would, of course, make a compiler
 compiler compiler, but who's counting? You can then take the input file,
 and follow the usual procedures for generating C++, and then binary,
 from them.


BTW - since XML schema is just XML, I suspect it should realtivelly easy to
parse it and produce code based on it without resorting to bison.
e.g. see Perl's XML::Compile::Schema and friends at
http://search.cpan.org/search?query=XML%3A%3ACompile%3A%3ASchemamode=module
actually maybe the above can be tweaked to produce C++ code...

--Amos


Re: Efficient C++ XML validating parser?

2008-03-06 Thread Amos Shapira
On Thu, Mar 6, 2008 at 10:50 AM, Gilad Ben-Yossef [EMAIL PROTECTED]
wrote:

 Shachar Shemesh wrote:
  Amos Shapira wrote:
 
  Another one is CodeSynthesis XSD
  (http://www.codesynthesis.com/products/xsd/), it's GPL so we we can't
  link it with our proprietary code.
 
 
  gcc is also GPL, and yet you can link the programs you compile with it
  to your proprietary code.

 hmpf... that's not a good example.

 It is true that GCC output (the object and ELF files) are themselves not
 derived work of GCC. However, to actually use them for something you
 need to link (statically or otherwise) with libgcc.

 Mind you, the produced programs are indeed not subect to the GPL - but
 only because the FSF has made an explicit exception for libgcc.


Whatever it is with GCC, libgxcc, mingw or whatever, the issue is that the
codesynthesis program creates code which relies on linking with their own
run-time libraries, which are covered by the GPL and therefore I can't link
proprietary code with them and distribute them outside my own legal inetity,
from http://www.codesynthesis.com/products/xsd/license.xhtml:

By linking with the XSD runtime library and/or the generated
code (directly or indirectly, statically or dynamically,
at compile time or runtime), your application is subject to the
terms of the GPL or the FLOSS Exception, which both require that
you release the source code of your application if and when you
distribute it. Distributing an application includes giving it
to customers, contractors, parent companies, subsidiaries, or any
legal entity other than your own.

--Amos


Re: To maintainers of Israeli open source web sites

2008-03-06 Thread Tzafrir Cohen
On Thu, Mar 06, 2008 at 02:16:13PM +1100, Amos Shapira wrote:
 Hi All,
 
 It just took me quite a while to find current archives of linux-il on
 the net in order to point to an article there.
 
 I finally found a good archive at mail-archive
 (http://www.mail-archive.com/linux-il@cs.huji.ac.il/).

There are also the gmane.org archives:

http://dir.gmane.org/gmane.linux.region.israel

Historically the archives of mail-archives were incomplete because they
archive by list name, and linux-il has alwas had three different
addresses. This has been solved recently. But past archives are still
affected.

See also:
  http://www.mail-archive.com/[EMAIL PROTECTED]/
  http://www.mail-archive.com/[EMAIL PROTECTED]/
  http://www.mail-archive.com/[EMAIL PROTECTED]/

(The last one is really old)

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il || a Mutt's
[EMAIL PROTECTED] ||  best
ICQ# 16849754 || friend

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Efficient C++ XML validating parser?

2008-03-06 Thread Gilad Ben-Yossef

Shachar Shemesh wrote:

Amos Shapira wrote:


Another one is CodeSynthesis XSD
(http://www.codesynthesis.com/products/xsd/), it's GPL so we we can't
link it with our proprietary code.

  
gcc is also GPL, and yet you can link the programs you compile with it 
to your proprietary code.


hmpf... that's not a good example.

It is true that GCC output (the object and ELF files) are themselves not 
derived work of GCC. However, to actually use them for something you 
need to link (statically or otherwise) with libgcc.


Mind you, the produced programs are indeed not subect to the GPL - but 
only because the FSF has made an explicit exception for libgcc.


See for example: http://www.mingw.org/MinGWiki/index.php/SharedLibgccLegal

I suspect for most real world cases there is some variant of libgcc 
lurking about.



Gilad


--
Gilad Ben-Yossef [EMAIL PROTECTED]
Chief Coffee Drinker

Codefidence Ltd.| Web: http://codefidence.com
Work: +972-3-7515563 ext. 201   | Mobile: +972-52-8260388

Your hovercraft is full of eels. For information on
 emptying your hovercraft, turn to Section 2.6.a.17
 of your hovercraft user manual.
- The Monty Python technical writer


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Samba success story [Was: AD Integration/Replacement?]

2008-03-06 Thread Oded Arbel
Sorry for raising an old thread (I'm going over my mailing list boxes),
but I wanted to share a very much related success story with you.

I'm managing a small network (around 20 workstations and 10 servers)
which uses a central authentication against a Linux server. Windows
workstations are authenticating against and using roaming profiles from
a standard Samba 3 installation with an LDAP backend and Linux
workstations and servers authenticate directly through LDAP. 

Setting it up is not difficult. At first I had an opepldap backend and
then it was changed for a Novell eDirectory server, but the setup is
fairly similar and not hard to do. Even better, the LDAP server is SuSE
Linux Enterprise Server 10 which comes with openldap/samba configuration
as a PDC out of the box, so almost no tweaking is actually needed.

If anyone is interested in more details, email me in private.

On Tue, 2008-02-05 at 11:01 +0200, Tom Rosenfeld wrote:
 2008/2/3 Ira Abramov [EMAIL PROTECTED]:
 A(nother) client of mine is fighting the old fight of central
 directory
 management. 
 
 Hi Ira,
 Let us know what you did.
 I have a similar situation and am looking for a proven setup

-- 

Oded


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Changing text direction in KDE apps

2008-03-06 Thread Hetz Ben Hamo
in your ~/.qt/ there is a file called qtrc

In this file, there's a line:
useRtlExtensions=false

Change it to: true

restart your application, and use CTRL RIGHT-SHIFT to change dir to
RTL and CTRL LEFT SHIFT to ltr.

Hetz

2008/3/6 Dotan Cohen [EMAIL PROTECTED]:
 Does anyone know how to change the direction of text in KDE
  applications from LTR to RTL and back? In Mozilla apps Ctrl-Shift-X
  switched direction, for those who did not know.

  Dotan Cohen

  http://what-is-what.com
  http://gibberish.co.il
  א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

  A: Because it messes up the order in which people normally read text.
  Q: Why is top-posting such a bad thing?




-- 
Skepticism is the lazy person's default position.
my blog (hebrew): http://benhamo.org


Hamakor is a PRIVATE organisation?

2008-03-06 Thread Amos Shapira
That's what it is, according to Ynet's article about the ministry of
(un)education:

http://www.ynet.co.il/articles/0,7340,L-3515622,00.html

Maybe someone should make them correct this?

--Amos

(For the slow minded - Hamakor is a PUBLIC organisation, as far as I'm aware).

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]