Hi all,

In Xerces, I recently implemented the DOM Element Traversal specification
[1] and was planning to add org.w3c.dom.ElementTraversal to xml-apis.jar in
XML Commons.  Normally the DOM specifications are accompanied with a zip
file (e.g. DOM Level 3 [2]), containing the Java binding for the API with
each of the source files having the W3C license/copyright header on each of
them.  For whatever reason the Web Applications Working Group didn't
produce such a file for ElementTraversal but instead pasted the definition
of the interface [3] (without Javadoc or any comments) directly into the
specification. This seems to imply that someone wanting to use
ElementTraversal in Java must create the source file for the interface
themselves.  I looked around the web and found that Batik [4] already did
this work.

I was thinking of just linking the file from Batik into XML Commons but
wanted to check whether the license on it was correct first.  Usually
source files for org.w3c.dom.* have the W3C copyright notice / license
header.  This one has the ASF header.  I'm not sure which one should be in
there.  I assume the file wasn't created by the W3C but the interface
definition would have come from the Element Traversal specification which
has its own license [5]. Has anyone in Batik land explored this before and
if so what was the conclusion?

Thanks.

[1]
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/dom/ElementImpl.java?view=markup&pathrev=730053
[2]
http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/java-binding.zip
[3] http://www.w3.org/TR/2008/REC-ElementTraversal-20081222/#java-bindings
[4]
http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/w3c/dom/ElementTraversal.java?revision=601947&view=markup
[5] http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [email protected]
E-mail: [email protected]

Reply via email to