You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by GitBox <gi...@apache.org> on 2021/04/30 16:47:54 UTC

[GitHub] [daffodil] olabusayoT commented on a change in pull request #505: Update scala-library, scala-reflect to 2.12.13

olabusayoT commented on a change in pull request #505:
URL: https://github.com/apache/daffodil/pull/505#discussion_r623990195



##########
File path: daffodil-runtime1/src/main/scala/org/apache/daffodil/processors/DaffodilParseOutputStreamContentHandler.scala
##########
@@ -93,7 +93,12 @@ class DaffodilParseOutputStreamContentHandler(out: OutputStream, pretty: Boolean
 
   override def startPrefixMapping(prefix: String, uri: String): Unit = {
     val _prefix = if (prefix == "") null else prefix
-    activePrefixMapping = NamespaceBinding(_prefix, uri, activePrefixMapping)
+    // only add this new prefix mapping to the currentElementMapping. The
+    // mappings in this variable will be added to the active mapping later.
+    // This is necessary because we essentially prepend NamespaceBinding's when

Review comment:
       's -> s




-- 
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.

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