You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steven Rowe (JIRA)" <ji...@apache.org> on 2011/03/10 16:24:00 UTC
[jira] Created: (LUCENE-2961) Remove benchmark/lib/xml-apis.jar -
JVM 1.5 already contains the required JAXP 1.3 implementation
Remove benchmark/lib/xml-apis.jar - JVM 1.5 already contains the required JAXP 1.3 implementation
-------------------------------------------------------------------------------------------------
Key: LUCENE-2961
URL: https://issues.apache.org/jira/browse/LUCENE-2961
Project: Lucene - Java
Issue Type: Improvement
Components: contrib/benchmark
Affects Versions: 3.1, 3.2, 4.0
Reporter: Steven Rowe
Priority: Minor
Fix For: 3.1, 3.2, 4.0
On [LUCENE-2957|https://issues.apache.org/jira/browse/LUCENE-2957?focusedCommentId=13004991&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13004991], Uwe wrote:
{quote}
xml-apis.jar is not needed with xerces-2.9 and Java 5, as Java 5 already has these interface classes (JAXP 1.3). Xerces 2.11 needs it, because it ships with Java 6's JAXP release (containing STAX & Co. not available in Java 5).
{quote}
On the #lucene IRC channel, Uwe also wrote:
{noformat}
since we are on java 5 since 3.0
we have the javax APIs already available in the JVM
xerces until 2.9.x only needs JAXP 1.3
so the only thing you need is xercesImpl.jar
and serializer.jar
serializer.jar is shared between all apache xml projects, dont know the exact version number
ok you dont need it whan you only parse xml
as soon as you want to serialize a dom tree or result of an xsl transformation you need it
[...]
but if we upgrade to latest xerces we need it [the xml-apis jar] again unless we are on java 6
so the one shipped with xerces 2.11 is the 1.4 one
because xerces 2.11 supports Stax
{noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Resolved: (LUCENE-2961) Remove benchmark/lib/xml-apis.jar -
JVM 1.5 already contains the required JAXP 1.3 implementation
Posted by "Steven Rowe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Rowe resolved LUCENE-2961.
---------------------------------
Resolution: Fixed
Committed:
- trunk revision 1080258
- lucene_solr_3_1 revision 1080322
- branch_3x revision 1080323
> Remove benchmark/lib/xml-apis.jar - JVM 1.5 already contains the required JAXP 1.3 implementation
> -------------------------------------------------------------------------------------------------
>
> Key: LUCENE-2961
> URL: https://issues.apache.org/jira/browse/LUCENE-2961
> Project: Lucene - Java
> Issue Type: Improvement
> Components: contrib/benchmark
> Affects Versions: 3.1, 3.2, 4.0
> Reporter: Steven Rowe
> Assignee: Steven Rowe
> Priority: Minor
> Fix For: 3.1, 3.2, 4.0
>
> Attachments: LUCENE-2961.patch
>
>
> On [LUCENE-2957|https://issues.apache.org/jira/browse/LUCENE-2957?focusedCommentId=13004991&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13004991], Uwe wrote:
> {quote}
> xml-apis.jar is not needed with xerces-2.9 and Java 5, as Java 5 already has these interface classes (JAXP 1.3). Xerces 2.11 needs it, because it ships with Java 6's JAXP release (containing STAX & Co. not available in Java 5).
> {quote}
> On the #lucene IRC channel, Uwe also wrote:
> {noformat}
> since we are on java 5 since 3.0
> we have the javax APIs already available in the JVM
> xerces until 2.9.x only needs JAXP 1.3
> so the only thing you need is xercesImpl.jar
> and serializer.jar
> serializer.jar is shared between all apache xml projects, dont know the exact version number
> ok you dont need it whan you only parse xml
> as soon as you want to serialize a dom tree or result of an xsl transformation you need it
> [...]
> but if we upgrade to latest xerces we need it [the xml-apis jar] again unless we are on java 6
> so the one shipped with xerces 2.11 is the 1.4 one
> because xerces 2.11 supports Stax
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Updated: (LUCENE-2961) Remove benchmark/lib/xml-apis.jar -
JVM 1.5 already contains the required JAXP 1.3 implementation
Posted by "Steven Rowe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Rowe updated LUCENE-2961:
--------------------------------
Attachment: LUCENE-2961.patch
Patch against trunk removing xml-apis-2.9.0.jar.
/lucene and /modules compile and successfully pass all tests under Java 1.5.
All tests (including Solr) pass under Java 1.6.
I plan on committing shortly.
> Remove benchmark/lib/xml-apis.jar - JVM 1.5 already contains the required JAXP 1.3 implementation
> -------------------------------------------------------------------------------------------------
>
> Key: LUCENE-2961
> URL: https://issues.apache.org/jira/browse/LUCENE-2961
> Project: Lucene - Java
> Issue Type: Improvement
> Components: contrib/benchmark
> Affects Versions: 3.1, 3.2, 4.0
> Reporter: Steven Rowe
> Priority: Minor
> Fix For: 3.1, 3.2, 4.0
>
> Attachments: LUCENE-2961.patch
>
>
> On [LUCENE-2957|https://issues.apache.org/jira/browse/LUCENE-2957?focusedCommentId=13004991&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13004991], Uwe wrote:
> {quote}
> xml-apis.jar is not needed with xerces-2.9 and Java 5, as Java 5 already has these interface classes (JAXP 1.3). Xerces 2.11 needs it, because it ships with Java 6's JAXP release (containing STAX & Co. not available in Java 5).
> {quote}
> On the #lucene IRC channel, Uwe also wrote:
> {noformat}
> since we are on java 5 since 3.0
> we have the javax APIs already available in the JVM
> xerces until 2.9.x only needs JAXP 1.3
> so the only thing you need is xercesImpl.jar
> and serializer.jar
> serializer.jar is shared between all apache xml projects, dont know the exact version number
> ok you dont need it whan you only parse xml
> as soon as you want to serialize a dom tree or result of an xsl transformation you need it
> [...]
> but if we upgrade to latest xerces we need it [the xml-apis jar] again unless we are on java 6
> so the one shipped with xerces 2.11 is the 1.4 one
> because xerces 2.11 supports Stax
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Assigned: (LUCENE-2961) Remove benchmark/lib/xml-apis.jar -
JVM 1.5 already contains the required JAXP 1.3 implementation
Posted by "Steven Rowe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Rowe reassigned LUCENE-2961:
-----------------------------------
Assignee: Steven Rowe
> Remove benchmark/lib/xml-apis.jar - JVM 1.5 already contains the required JAXP 1.3 implementation
> -------------------------------------------------------------------------------------------------
>
> Key: LUCENE-2961
> URL: https://issues.apache.org/jira/browse/LUCENE-2961
> Project: Lucene - Java
> Issue Type: Improvement
> Components: contrib/benchmark
> Affects Versions: 3.1, 3.2, 4.0
> Reporter: Steven Rowe
> Assignee: Steven Rowe
> Priority: Minor
> Fix For: 3.1, 3.2, 4.0
>
> Attachments: LUCENE-2961.patch
>
>
> On [LUCENE-2957|https://issues.apache.org/jira/browse/LUCENE-2957?focusedCommentId=13004991&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13004991], Uwe wrote:
> {quote}
> xml-apis.jar is not needed with xerces-2.9 and Java 5, as Java 5 already has these interface classes (JAXP 1.3). Xerces 2.11 needs it, because it ships with Java 6's JAXP release (containing STAX & Co. not available in Java 5).
> {quote}
> On the #lucene IRC channel, Uwe also wrote:
> {noformat}
> since we are on java 5 since 3.0
> we have the javax APIs already available in the JVM
> xerces until 2.9.x only needs JAXP 1.3
> so the only thing you need is xercesImpl.jar
> and serializer.jar
> serializer.jar is shared between all apache xml projects, dont know the exact version number
> ok you dont need it whan you only parse xml
> as soon as you want to serialize a dom tree or result of an xsl transformation you need it
> [...]
> but if we upgrade to latest xerces we need it [the xml-apis jar] again unless we are on java 6
> so the one shipped with xerces 2.11 is the 1.4 one
> because xerces 2.11 supports Stax
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Updated: (LUCENE-2961) Remove benchmark/lib/xml-apis.jar -
JVM 1.5 already contains the required JAXP 1.3 implementation
Posted by "Steven Rowe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Rowe updated LUCENE-2961:
--------------------------------
Lucene Fields: [New, Patch Available] (was: [New])
> Remove benchmark/lib/xml-apis.jar - JVM 1.5 already contains the required JAXP 1.3 implementation
> -------------------------------------------------------------------------------------------------
>
> Key: LUCENE-2961
> URL: https://issues.apache.org/jira/browse/LUCENE-2961
> Project: Lucene - Java
> Issue Type: Improvement
> Components: contrib/benchmark
> Affects Versions: 3.1, 3.2, 4.0
> Reporter: Steven Rowe
> Assignee: Steven Rowe
> Priority: Minor
> Fix For: 3.1, 3.2, 4.0
>
> Attachments: LUCENE-2961.patch
>
>
> On [LUCENE-2957|https://issues.apache.org/jira/browse/LUCENE-2957?focusedCommentId=13004991&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13004991], Uwe wrote:
> {quote}
> xml-apis.jar is not needed with xerces-2.9 and Java 5, as Java 5 already has these interface classes (JAXP 1.3). Xerces 2.11 needs it, because it ships with Java 6's JAXP release (containing STAX & Co. not available in Java 5).
> {quote}
> On the #lucene IRC channel, Uwe also wrote:
> {noformat}
> since we are on java 5 since 3.0
> we have the javax APIs already available in the JVM
> xerces until 2.9.x only needs JAXP 1.3
> so the only thing you need is xercesImpl.jar
> and serializer.jar
> serializer.jar is shared between all apache xml projects, dont know the exact version number
> ok you dont need it whan you only parse xml
> as soon as you want to serialize a dom tree or result of an xsl transformation you need it
> [...]
> but if we upgrade to latest xerces we need it [the xml-apis jar] again unless we are on java 6
> so the one shipped with xerces 2.11 is the 1.4 one
> because xerces 2.11 supports Stax
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org