jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject jena git commit: JENA-1027: Unescape \_
Date Mon, 14 Sep 2015 12:42:38 GMT
Repository: jena
Updated Branches:
  refs/heads/master b4f37c8a3 -> fee02af49


JENA-1027: Unescape \_

Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/fee02af4
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/fee02af4
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/fee02af4

Branch: refs/heads/master
Commit: fee02af49609752abd3c3711888cadb8f08f0902
Parents: b4f37c8
Author: Andy Seaborne <andy@apache.org>
Authored: Mon Sep 14 13:42:16 2015 +0100
Committer: Andy Seaborne <andy@apache.org>
Committed: Mon Sep 14 13:42:16 2015 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/jena/sparql/lang/ParserBase.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/fee02af4/jena-arq/src/main/java/org/apache/jena/sparql/lang/ParserBase.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/lang/ParserBase.java b/jena-arq/src/main/java/org/apache/jena/sparql/lang/ParserBase.java
index a9d961e..dd2fdeb 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/lang/ParserBase.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/lang/ParserBase.java
@@ -484,7 +484,6 @@ public class ParserBase
         
         for ( int i = 0 ; i < len ; i++ )
         {
-            // Copied form unescape abobve - share!
             char ch = s.charAt(i) ;
             // Keep line and column numbers.
             switch (ch)
@@ -513,7 +512,8 @@ public class ParserBase
             i = i + 1 ;
 
            switch (ch2)
-           {
+           {   // PN_LOCAL_ESC
+               case '_' :
                case '~' :
                case '.' : 
                case '-' : 


Mime
View raw message