"Kevin T. Smith" wrote:
> I'm just checking to make sure. I am writing a book on XUL, and I would
> like to use a few portions of some of the Mozilla codebase to show some
> of the key features of the language.. From what I have read, this looks
> OK, as long as I say where it comes from, right?

Basically, yes. All of the code in Mozilla, regardless of the specific
license involved, can be freely distributed in whole or in part. Since
you're just reprinting source code and not actually distributing an
executable version, you shouldn't have to worry about license-mandated
notification requirements associated with distribution of executables.
More comments below.

> Any feedback would be appreciated.

IMO there are a couple of things you could do to make life easier for
your readers, especially as the Mozilla code changes over time. First,
at a minimum identify the filename, directory path, and Mozilla release
number for the code you're quoting. Second, give a CVS tag and
associated instructions that people can use to pull a complete version
of _exactly_ the code you're quoting, plus other code that depends on it
and vice versa. IMO this is very important if people want to explore the
code in more depth.

In other words, please don't just say "go look at
http://www.mozilla.org/" :-)

Frank
-- 
Frank Hecker            work: http://www.collab.net/
[EMAIL PROTECTED]        home: http://www.hecker.org/

Reply via email to