File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes license of org library Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "license of org library" Watch "license of org library" New topic
Author

license of org library

Rahul Shilpakar
Ranch Hand

Joined: Aug 29, 2006
Posts: 132
hello,

i am working in OPEN SOURCE. I am working on java platform.

i want to know that whether the libraries of java i.e. org.w3c & org.xml have GPL (General Public License)?

is it in OPEN SOURCE?

please help me. .. i am in need


Perform for today. Adapt for tomorrow.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12781
    
    5
All you have to do to reduce your confusion is to look at the actual source code. For example this is from Java 1.5 Node.java file


Bill
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18570
    
    8

I would have assumed that the entire JRE (or JDK) was covered by the licence you accepted when you downloaded or installed it. And I would have assumed that Sun would have evaluated the licences of any outside source code they included in their distribution and ensured that their licence was compatible with them.

I wouldn't expect to have to inspect the source code of upwards of 5,000 classes individually to check for hidden licencing restrictions.

But then I'm not a lawyer. Perhaps a lawyer would tell you that if Sun made a mistake in releasing Source Code X under Sun's Licence Y, it's still your responsibility to check on Source Code X's licence and you could be liable for Sun's mistake. As I say, I don't know. You could ask a lawyer.
Rahul Shilpakar
Ranch Hand

Joined: Aug 29, 2006
Posts: 132
so i can't use these one in Open Source! :shocked:

i have to seak help from Lawer?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18570
    
    8

Originally posted by Rahul Shilpakar:
so i can't use these one in Open Source! :shocked:
I don't think that follows from what Bill posted. Did you read the W3C licence the source code comments referred to?
i have to seak help from Lawer?
If you want real legal advice then you must get it from a lawyer. But if there is not much at stake (and I guess there is not much in this case) then you probably don't need to bother.
Rahul Shilpakar
Ranch Hand

Joined: Aug 29, 2006
Posts: 132
thank you,

and

the thing is that i already used jDOM which comes in Apache license. (A restrictive license) . i Was unaware of that.. i was shoked to listen that. then i am trying to shift to mentioned two. there are my competitor in my projects. those guys may take action against it.. i am searching it in open source but couldn't get according to my desire.

ok, any way ill look for alternative.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41816
    
  62
DOM and SAX are shipped with all kinds of software which is not licensed under the GPL, so I doubt that they are under the GPL themselves. The MIT license Bill quoted seems to bear that out.

Also keep mind that even though both are shipped with the JDK, they are also available separately, and may come with a different license in that case. The easiest would be to download them from their original sources, and see what the license within those distributions states.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: license of org library