[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xalan-dev
Subject:    [jira] [Resolved] (XALANJ-2638) error reporting improvement, for XalanJ interpretive processor for f
From:       "Mukul Gandhi (Jira)" <jira () apache ! org>
Date:       2022-09-28 13:56:15
Message-ID: JIRA.13483680.1664373247000.343848.1664373600065 () Atlassian ! JIRA
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/XALANJ-2638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Mukul Gandhi resolved XALANJ-2638.
----------------------------------
    Resolution: Fixed

Resolving this issue. The fix for this issue, was committed to the XalanJ git repos, \
with commit id ca190b61c3add0f9c0f8779adf93ea0aa35c3c9c.

> error reporting improvement, for XalanJ interpretive processor for few of XPath \
>                 parse errors, during XSLT transformation
> ------------------------------------------------------------------------------------------------------------------------
>  
> Key: XALANJ-2638
> URL: https://issues.apache.org/jira/browse/XALANJ-2638
> Project: XalanJ2
> Issue Type: Improvement
> Security Level: No security risk; visible to anyone(Ordinary problems in Xalan \
>                 projects.  Anybody can view the issue.) 
> Components: parse-or-compile
> Affects Versions: 2.7.2
> Reporter: Mukul Gandhi
> Assignee: Mukul Gandhi
> Priority: Major
> Fix For: 2.7.3
> 
> 
> Here's an illustration of this issue.
> XML document:
> <test1>
> <val1>105</val1>
> </test1>
> XSLT stylesheet:
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
> <xsl:output method="xml" omit-xml-declaration="yes"/>
> <xsl:template match="/">
> <xsl:call-template name="Test1">
> <xsl:with-param name="a" select="test1/val1"/>
> </xsl:call-template>
> </xsl:template>
> <xsl:template name="Test1">
> <xsl:param name="a"/>
> <xsl:value-of select="$a / 2"/>
> </xsl:template>
> </xsl:stylesheet>
> The above mentioned, XSLT transform produces, following errors using XalanJ 2.7.2 \
> interpretive processor, SystemId Unknown; Line #15; Column #38; A relative location \
> path was expected following the '/' or '//' token.
> SystemId Unknown; Line #15; Column #38; Extra illegal tokens: '2'
> 105
> The fix for this, issue should produce, the actual value of systemid within such \
> error messages.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic