You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Fernando Nasser (JIRA)" <xe...@xml.apache.org> on 2005/10/13 16:21:04 UTC
[jira] Commented: (XERCESJ-1103) Can't build Xerces 2.7.1 with released version of Apache Xml-Commons apis 1.1 b2
[ http://issues.apache.org/jira/browse/XERCESJ-1103?page=comments#action_12332004 ]
Fernando Nasser commented on XERCESJ-1103:
------------------------------------------
Thanks for you clarifications Michael.
I did look at the MANIFEST.MF and it innitially scared me. Mind you that I found entries like:
Name: javax/xml/validation/
Comment: xml-commons for http://xml.apache.org/ subproject's use
Specification-Title: JSR 206 Java API for XML Processing 1.3
Specification-Version: 1.3
Specification-Vendor: Sun Microsystems Inc.
Implementation-Title: javax.xml.transform
Implementation-Version: @impl.version@
Implementation-Vendor: Sun Microsystems Inc.
Implementation-URL: http://java.sun.com/xml/jaxp.html
This seemed to imply that the API calsses were from Sun (so they would be SBL). I found out that this is not true, the source files are there with APL on their headers.
Shouldn't the implementation part say ASF? Like:
Name: javax/xml/validation/
Comment: xml-commons for http://xml.apache.org/ subproject's use
Specification-Title: JSR 206 Java API for XML Processing 1.3
Specification-Version: 1.3
Specification-Vendor: Sun Microsystems Inc.
Specification-URL: http://java.sun.com/xml/jaxp.html
Implementation-Title: javax.xml.transform
Implementation-Version: @impl.version@
Implementation-Vendor: Apache Software Foundation
Implementation-URL: http://xml.apache.org/commons/
Or something like that?
P.S.: Again, thanks for the clarifications and sorry for not using the list .
I am not in the commons-dev@xml.apache.org as I am not involved (yet) with the project, I am just creating RPM packages for them for jpackage.org, Red Hat, Suse, Mandrake etc. and so that it can be used to build a Xerces2 entirely from sources, as a real Open Source software should always be. And I thought it was an issue to be resolved and tracked in JIRA -- it just end up not being so (but I did not know upfront).
> Can't build Xerces 2.7.1 with released version of Apache Xml-Commons apis 1.1 b2
> --------------------------------------------------------------------------------
>
> Key: XERCESJ-1103
> URL: http://issues.apache.org/jira/browse/XERCESJ-1103
> Project: Xerces2-J
> Type: Bug
> Components: Other
> Versions: 2.7.1
> Environment: The build was attempted on a Linux system but the problem is with contents of a jar file, so it should happen regardless of the OS.
> Reporter: Fernando Nasser
>
> When using the xml-apis.jar obtained by dowmloading it from Apache XML-Commons one gets:
> compile:
> [copy] Copying 13 files to /usr/src/build/620177-noarch/BUILD/xerces-2_7_1/build/classes
> [xjavac] Compiling 657 source files to /usr/src/build/620177-noarch/BUILD/xerces-2_7_1/build/classes
> [xjavac] /usr/src/build/620177-noarch/BUILD/xerces-2_7_1/build/src/org/apache/xerces/dom/ElementImpl.java:27: cannot resolve symbol
> [xjavac] symbol : class TypeInfo
> [xjavac] location: package dom
> [xjavac] import org.w3c.dom.TypeInfo;
> [xjavac] ^
> [xjavac] /usr/src/build/620177-noarch/BUILD/xerces-2_7_1/build/src/org/apache/xerces/dom/ParentNode.java:28: cannot resolve symbol
> [xjavac] symbol : class UserDataHandler
> [xjavac] location: package dom
> [xjavac] import org.w3c.dom.UserDataHandler;
> [xjavac] ^
> [xjavac] /usr/src/build/620177-noarch/BUILD/xerces-2_7_1/build/src/org/apache/xerces/dom/NodeImpl.java:24: cannot resolve symbol
> [xjavac] symbol : class UserDataHandler
> [xjavac] location: package dom
> [xjavac] import org.w3c.dom.UserDataHandler;
> [xjavac] ^
> [xjavac] /usr/src/build/620177-noarch/BUILD/xerces-2_7_1/build/src/org/apache
> (...)
> What version of xml-commons corresponds to the tools/xml-apis.jar shipped in
> Xerces-J-tools.2.7.1.tar.gz ?
> Thanks for you help (or for the fix).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org