You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by sh...@apache.org on 2025/03/20 15:30:34 UTC

(daffodil-vscode) branch main updated: Update to Apache Daffodil 3.10.0

This is an automated email from the ASF dual-hosted git repository.

shanedell pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/daffodil-vscode.git


The following commit(s) were added to refs/heads/main by this push:
     new 2e25f36  Update to Apache Daffodil 3.10.0
2e25f36 is described below

commit 2e25f36f125cbfdee9448f1bbfd5f3385ec950ae
Author: Jeremy Yao <je...@nteligen.com>
AuthorDate: Fri Mar 14 16:22:19 2025 -0400

    Update to Apache Daffodil 3.10.0
    
    Closes #1198
---
 .../src/main/scala/org.apache.daffodil.debugger.dap/Parse.scala     | 6 +++---
 package.json                                                        | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debugger/src/main/scala/org.apache.daffodil.debugger.dap/Parse.scala b/debugger/src/main/scala/org.apache.daffodil.debugger.dap/Parse.scala
index 8c7aa58..7530072 100644
--- a/debugger/src/main/scala/org.apache.daffodil.debugger.dap/Parse.scala
+++ b/debugger/src/main/scala/org.apache.daffodil.debugger.dap/Parse.scala
@@ -906,13 +906,13 @@ object Parse {
            * the SourceRequest (even if a path is specified). */
           Try(
             Paths
-              .get(URI.create(startElement.schemaLocation.uriString))
+              .get(URI.create(startElement.schemaLocation.diagnosticFile.toURI().toString()))
               .toString()
           )
             .fold(
               _ =>
                 new Types.Source(
-                  startElement.schemaLocation.uriString,
+                  startElement.schemaLocation.diagnosticFile.toURI().toString(),
                   null,
                   0
                 ), // there is no valid path if the location is a schema contained in a jar file; see #76.
@@ -1449,7 +1449,7 @@ object Parse {
 
     def createLocation(loc: SchemaFileLocation): DAPodil.Location =
       DAPodil.Location(
-        URI.create(loc.uriString).normalize,
+        URI.create(loc.diagnosticFile.toURI().toString()).normalize,
         DAPodil.Line(loc.lineNumber.map(_.toInt).getOrElse(0))
       )
 
diff --git a/package.json b/package.json
index cdb5367..c04ce08 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
   "displayName": "Apache Daffodilâ„¢ Extension for Visual Studio Code",
   "description": "Apache Daffodilâ„¢ Extension for Visual Studio Code providing DFDL syntax highlighting, DFDL code completion, DFDL schema debugging, and data editor",
   "version": "1.4.1-SNAPSHOT",
-  "daffodilVersion": "3.8.0",
+  "daffodilVersion": "3.10.0",
   "publisher": "asf",
   "author": "Apache Daffodil",
   "license": "Apache-2.0",