December 14, 2005
Perhaps a stupid question:

Is there a problem with copyright and/or licenses, if I implement a lib with the exact similar api ported to D for my lib?

For example implementing a xml sax parser as package
org.xml.sax
using the interface
ContentHandler
...

Frank

December 14, 2005
IANAL, but I'm pretty sure that it depends on the lib's license.  I happen to know that all of the Java SAX interfaces are under public domain, however, so you are free to do what you like with them.

BTW, if you are considering porting SAX to D, take a look at the Mango project.  I built a DOM parser for Mango, and I've just started (yesterday) writing some SAX-like interfaces and have ported the DOM parser I wrote. So, there's already a functional (although very alpha) SAX parser in Mango (SVN at least).  There's a good deal of work to be done, however, mostly on the backend parser side, so I'd appreciate the help if you're willing.

~John Demme


Frank Benoit wrote:

> Perhaps a stupid question:
> 
> Is there a problem with copyright and/or licenses, if I implement a lib with the exact similar api ported to D for my lib?
> 
> For example implementing a xml sax parser as package
> org.xml.sax
> using the interface
> ContentHandler
> ...
> 
> Frank