You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mu...@apache.org on 2019/05/29 09:49:08 UTC

[xalan-java] branch xalan-j_2_7_1_maint updated: committing fix for jira issue XALANJ-2584

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

mukulg pushed a commit to branch xalan-j_2_7_1_maint
in repository https://gitbox.apache.org/repos/asf/xalan-java.git


The following commit(s) were added to refs/heads/xalan-j_2_7_1_maint by this push:
     new 2e6728c  committing fix for jira issue XALANJ-2584
2e6728c is described below

commit 2e6728ce0f16b4695026385782333874a3e61afa
Author: Mukul Gandhi <mu...@apache.org>
AuthorDate: Wed May 29 15:18:42 2019 +0530

    committing fix for jira issue XALANJ-2584
---
 src/org/apache/xalan/lib/ExsltDatetime.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/org/apache/xalan/lib/ExsltDatetime.java b/src/org/apache/xalan/lib/ExsltDatetime.java
index 44702e2..307e6fd 100644
--- a/src/org/apache/xalan/lib/ExsltDatetime.java
+++ b/src/org/apache/xalan/lib/ExsltDatetime.java
@@ -158,6 +158,7 @@ public class ExsltDatetime
     public static String date(String datetimeIn)
       throws ParseException
     {
+      if ("".equals(datetimeIn)) return EMPTY_STR;      
       String[] edz = getEraDatetimeZone(datetimeIn);
       String leader = edz[0];
       String datetime = edz[1];


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xalan.apache.org
For additional commands, e-mail: commits-help@xalan.apache.org