[ 
https://issues.apache.org/jira/browse/XMLBEANS-656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

PJ Fanning updated XMLBEANS-656:
--------------------------------
    Description: 
Looks like Saxon 12.6 has at least some classes compiled with Java 11.

```
Execution failed for task ':bootstrapMigrate'.
> Compilation failed; see the compiler output below.
  
/home/runner/work/xmlbeans/xmlbeans/src/main/java/org/apache/xmlbeans/impl/xpath/saxon/SaxonXPathEngine.java:18:
 error: cannot access net.sf.saxon.value.DateTimeValue
  import net.sf.saxon.value.DateTimeValue;
                           ^
[Incubating] Problems report is available at: 
file:///home/runner/work/xmlbeans/xmlbeans/build/reports/problems/problems-report.html
    bad class file: 
/home/runner/.gradle/caches/modules-2/files-2.1/net.sf.saxon/Saxon-HE/12.6/1b8c10217bd2dd4bf04959bc7ce356e55d0fa2be/Saxon-HE-12.6.jar(net/sf/saxon/value/DateTimeValue.class)
      class file has wrong version 55.0, should be 52.0
      Please remove or make sure it appears in the correct subdirectory of the 
classpath.
  1 error
```

> upgrade to saxon 12.6
> ---------------------
>
>                 Key: XMLBEANS-656
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-656
>             Project: XMLBeans
>          Issue Type: Task
>            Reporter: PJ Fanning
>            Priority: Major
>             Fix For: 5.3.1
>
>
> Looks like Saxon 12.6 has at least some classes compiled with Java 11.
> ```
> Execution failed for task ':bootstrapMigrate'.
> > Compilation failed; see the compiler output below.
>   
> /home/runner/work/xmlbeans/xmlbeans/src/main/java/org/apache/xmlbeans/impl/xpath/saxon/SaxonXPathEngine.java:18:
>  error: cannot access net.sf.saxon.value.DateTimeValue
>   import net.sf.saxon.value.DateTimeValue;
>                            ^
> [Incubating] Problems report is available at: 
> file:///home/runner/work/xmlbeans/xmlbeans/build/reports/problems/problems-report.html
>     bad class file: 
> /home/runner/.gradle/caches/modules-2/files-2.1/net.sf.saxon/Saxon-HE/12.6/1b8c10217bd2dd4bf04959bc7ce356e55d0fa2be/Saxon-HE-12.6.jar(net/sf/saxon/value/DateTimeValue.class)
>       class file has wrong version 55.0, should be 52.0
>       Please remove or make sure it appears in the correct subdirectory of 
> the classpath.
>   1 error
> ```



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to