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 "elharo (via GitHub)" <gi...@apache.org> on 2025/07/01 12:07:15 UTC

[PR] No longer need to bundle xml-apis [xerces-j]

elharo opened a new pull request, #19:
URL: https://github.com/apache/xerces-j/pull/19

   (no comment)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


Re: [PR] No longer need to bundle xml-apis [xerces-j]

Posted by "cmarchand (via GitHub)" <gi...@apache.org>.
cmarchand commented on PR #19:
URL: https://github.com/apache/xerces-j/pull/19#issuecomment-3424957063

   > I'd be in favour of this being merged and just dropping Java 8 support
   
   In this cas, probably a MAJOR release will be required.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


Re: [PR] No longer need to bundle xml-apis [xerces-j]

Posted by "cmarchand (via GitHub)" <gi...@apache.org>.
cmarchand commented on PR #19:
URL: https://github.com/apache/xerces-j/pull/19#issuecomment-3426441986

   Supporting recent JDK versions and removing use of deprecated code doesn't mean Java 8 support is lost.
   
   It's possible to keep code compilable with Java 8, and usable with recent versions of Java.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


Re: [PR] No longer need to bundle xml-apis [xerces-j]

Posted by "elharo (via GitHub)" <gi...@apache.org>.
elharo closed pull request #19: No longer need to bundle xml-apis
URL: https://github.com/apache/xerces-j/pull/19


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


Re: [PR] No longer need to bundle xml-apis [xerces-j]

Posted by "elharo (via GitHub)" <gi...@apache.org>.
elharo commented on PR #19:
URL: https://github.com/apache/xerces-j/pull/19#issuecomment-3426256819

   ```
    compile:
        [copy] Copying 23 files to /home/runner/work/xerces-j/xerces-j/build/classes
      [xjavac] Compiling 712 source files to /home/runner/work/xerces-j/xerces-j/build/classes
      [xjavac] /home/runner/work/xerces-j/xerces-j/build/src/org/apache/xerces/dom/ElementImpl.java:26: error: cannot find symbol
      [xjavac] import org.w3c.dom.ElementTraversal;
      [xjavac]                   ^
      [xjavac]   symbol:   class ElementTraversal
      [xjavac]   location: package org.w3c.dom
      [xjavac] /home/runner/work/xerces-j/xerces-j/build/src/org/apache/xerces/dom/ElementImpl.java:63: error: cannot find symbol
      [xjavac]     implements Element, ElementTraversal, TypeInfo, NodeEqualityWithQname {
      [xjavac]                         ^
      [xjavac]   symbol: class ElementTraversal
      [xjavac] Note: Some input files use or override a deprecated API.
      [xjavac] Note: Recompile with -Xlint:deprecation for details.
      [xjavac] Note: Some input files use unchecked or unsafe operations.
      [xjavac] Note: Recompile with -Xlint:unchecked for details.
      [xjavac] 2 errors
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


Re: [PR] No longer need to bundle xml-apis [xerces-j]

Posted by "elharo (via GitHub)" <gi...@apache.org>.
elharo commented on PR #19:
URL: https://github.com/apache/xerces-j/pull/19#issuecomment-3426260874

   We're not going to drop Java 8 any time soon. It is in very wide use.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


Re: [PR] No longer need to bundle xml-apis [xerces-j]

Posted by "elharo (via GitHub)" <gi...@apache.org>.
elharo commented on PR #19:
URL: https://github.com/apache/xerces-j/pull/19#issuecomment-3023782854

   Maybe not. Looks like we don't get ElementTraveral until Java 11:
   
   ```
   compile:
        [copy] Copying 23 files to /home/runner/work/xerces-j/xerces-j/build/classes
      [xjavac] Compiling 712 source files to /home/runner/work/xerces-j/xerces-j/build/classes
      [xjavac] /home/runner/work/xerces-j/xerces-j/build/src/org/apache/xerces/dom/ElementImpl.java:26: error: cannot find symbol
      [xjavac] import org.w3c.dom.ElementTraversal;
      [xjavac]                   ^
      [xjavac]   symbol:   class ElementTraversal
      [xjavac]   location: package org.w3c.dom
      [xjavac] /home/runner/work/xerces-j/xerces-j/build/src/org/apache/xerces/dom/ElementImpl.java:63: error: cannot find symbol
      [xjavac]     implements Element, ElementTraversal, TypeInfo, NodeEqualityWithQname {
      [xjavac]                         ^
      [xjavac]   symbol: class ElementTraversal
      [xjavac] Note: Some input files use or override a deprecated API.
      [xjavac] Note: Recompile with -Xlint:deprecation for details.
      [xjavac] Note: Some input files use unchecked or unsafe operations.
      [xjavac] Note: Recompile with -Xlint:unchecked for details.
      [xjavac] 2 errors
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


Re: [PR] No longer need to bundle xml-apis [xerces-j]

Posted by "elharo (via GitHub)" <gi...@apache.org>.
elharo closed pull request #19: No longer need to bundle xml-apis
URL: https://github.com/apache/xerces-j/pull/19


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


Re: [PR] No longer need to bundle xml-apis [xerces-j]

Posted by "SingingBush (via GitHub)" <gi...@apache.org>.
SingingBush commented on PR #19:
URL: https://github.com/apache/xerces-j/pull/19#issuecomment-3422879010

   I'd be in favour of this being merged and just dropping Java 8 support. Users of old JDKs already have releases that they can use. 
   
   Whilst I don't like breaking compatibility for the sake of it, hanging on to JDK 8 support isn't that important, it's eol was 6 years ago. Supporting JDK 11 and above is probably more than most need. I'd also argue that supporting the latest LTS should be seen as more important that supporting a JDK over 10 years old. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


Re: [PR] No longer need to bundle xml-apis [xerces-j]

Posted by "mrglavas (via GitHub)" <gi...@apache.org>.
mrglavas commented on PR #19:
URL: https://github.com/apache/xerces-j/pull/19#issuecomment-3426732142

   > We're not going to drop Java 8 any time soon. It is in very wide use.
   
   Indeed. Many are getting extended support until December 2030 and it would not surprise me if it got further extended.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org