Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
8f210a0
Update version and path in documentation source
Sep 10, 2012
4d204b7
Current V2.7.2 edits merged from maintenance branch back to trunk
Apr 16, 2014
d4fef10
Removing jar files from /lib when presence is relocated to /lib/endorsed
Apr 16, 2014
1f33f2d
Repair eclipse build / classpath / project
Apr 18, 2014
a114e6c
Fix typo reported here https://github.com/apache/xalan-j/pull/1.patch
garydgregory May 14, 2014
8f449ea
Xalan-J 2.7.2 Updated Website Sources
May 16, 2014
da1e2d4
committing XPath implementation source files generated by tools, that
xercesj May 14, 2019
c3edcf9
committing .gitignore file
xercesj May 14, 2019
222095d
minor correction to XalanJ docs
xercesj May 24, 2019
ff67439
Add SECURITY.md
garydgregory Mar 17, 2023
0affa12
clearing all the project contents from the xalanj master branch
mukulga Apr 14, 2023
356ce49
updating master branch, to have same contents as the branch xalan-j_2…
mukulga Apr 14, 2023
3a51a5a
changing project name within .project file on the master branch
mukulga Apr 14, 2023
3a624b3
increasing the default indent amount for the xalanj document serializ…
mukulga May 13, 2023
6f418ab
Revert default indent-amount
jkesselm Jun 13, 2023
690bd04
Merge pull request #5 from jkesselm/master
mukulga Jun 14, 2023
be0d250
committing minor changes to xalanj README file, as per the following …
mukulga Aug 28, 2023
92781cb
Merge pull request #66 from mukulga/xalan-j_master_mukul
mukulga Aug 28, 2023
45bb840
For DOM that is not a `Document`, `DOM2SAX.parse()`, in addition to c…
Sep 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,3 @@ within the test build conf.xsltc's output).
4) whitespace35 https://issues.apache.org/jira/browse/XALANJ-2643

These XSLT transformation issues, do not exist with the XalanJ interpretive processor.

4.4 From folder xalan-test/tests/2.7.3_release, run the batch file 2.7.3_release.bat (for Windows) or
shell script 2.7.3_release.sh (for Linux) to run certain tests, specific to XalanJ 2.7.3 and higher versions.

The final result of running this tests batch file/shell script (point 4.4), for these test's success should
be following,
The xalanj integer truncation bug fix test passed!
The test case passed [xalan_interpretive : jira_xalanj_2584]!
The test case passed [xalan_xsltc : jira_xalanj_2584]!
The test case passed [xalan_interpretive : jira_xalanj_2623]!
The test case passed [xalan_xsltc : jira_xalanj_2623]!

Users may read information within the batch file 2.7.3_release.bat or shell script 2.7.3_release.sh, to know
more about these tests (i.e, point 4.4).
6 changes: 5 additions & 1 deletion src/org/apache/xpath/VariableStack.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
*/
package org.apache.xpath;

import javax.xml.transform.SourceLocator;
import javax.xml.transform.TransformerException;

import org.apache.xalan.res.XSLMessages;
Expand Down Expand Up @@ -501,6 +502,8 @@ public XObject getVariableOrParam(

org.apache.xml.utils.PrefixResolver prefixResolver =
xctxt.getNamespaceContext();

SourceLocator srcLocator = xctxt.getSAXLocator();

// Get the current ElemTemplateElement, which must be pushed in as the
// prefix resolver, and then walk backwards in document order, searching
Expand Down Expand Up @@ -541,7 +544,8 @@ public XObject getVariableOrParam(
return getGlobalVariable(xctxt, vvar.getIndex());
}

throw new javax.xml.transform.TransformerException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_VAR_NOT_RESOLVABLE, new Object[]{qname.toString()})); //"Variable not resolvable: " + qname);
throw new javax.xml.transform.TransformerException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_VAR_NOT_RESOLVABLE,
new Object[]{qname.toString()}), srcLocator); //"Variable not resolvable: " + qname);
}
} // end VariableStack