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 2023/06/11 15:08:59 UTC

[xalan-java] branch xalan-j_xslt3.0 updated: minor improvements to, an error message related to use of xsl:break instruction

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

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


The following commit(s) were added to refs/heads/xalan-j_xslt3.0 by this push:
     new 6e171279 minor improvements to, an error message related to use of xsl:break instruction
6e171279 is described below

commit 6e171279b291e7898a1dbd6e9f31ae3a549ec07d
Author: Mukul Gandhi <ga...@gmail.com>
AuthorDate: Sun Jun 11 20:38:43 2023 +0530

    minor improvements to, an error message related to use of xsl:break
    instruction
---
 src/org/apache/xalan/templates/ElemIterateBreak.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/org/apache/xalan/templates/ElemIterateBreak.java b/src/org/apache/xalan/templates/ElemIterateBreak.java
index 0c650150..6ee9ade1 100644
--- a/src/org/apache/xalan/templates/ElemIterateBreak.java
+++ b/src/org/apache/xalan/templates/ElemIterateBreak.java
@@ -157,8 +157,8 @@ public class ElemIterateBreak extends ElemTemplateElement implements ExpressionO
            if (this.m_nextSibling != null) {
               XPathContext xpathContext = transformer.getXPathContext();
               throw new TransformerException("XTSE3120 : an xsl:break instruction must not have any other "
-                                                                          + "stylesheet element as its sibling.", 
-                                                                                           xpathContext.getSAXLocator());    
+                                                                        + "stylesheet element as its following sibling.", 
+                                                                                         xpathContext.getSAXLocator());    
            }
            else {
               XslTransformErrorLocatorHelper.isXslIterateBreakEvaluated = Boolean.TRUE;


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