Re: xalan-j releases discussion

Gary Gregory <[email protected]>
Newsgroups gmane.text.xml.xalan.devel
Message-ID <CACZkXPx3CPPdPydtTMoVs+t07_jAC16coMzNcsjzU+h4=2zpbw@mail.gmail.com>
On Wed, Jul 30, 2025 at 12:17 PM Mukul Gandhi <[email protected]>
wrote:

> Hi Gary,
>
> On Wed, Jul 30, 2025 at 5:45 PM Gary Gregory <[email protected]>
> wrote:
>
> > I would be grateful if you could provide these command lines to save
> time.
>
> Your Maven build attempt has resulted in three test failures.
>
> I request you to please follow the below mentioned steps, to run one
> of the tests that is failing for you.
>
> 1) Run command        mvn clean install -DskipTests
> This shall produce file xalan-java-3.0.1.jar within Maven's target folder
>
> 2) Create folder "xalan_3.0.1" for this testing somewhere within file
> system (I've created this on my local, at location D:\xalan_3.0.1)
>
> Copy file xalan-java-3.0.1.jar to folder "xalan_3.0.1"
>
> Copy following files as well (from folder xalan-j_xslt3.0_mvn\libs) to
> folder "xalan_3.0.1"
>

I pulled the latest:

git log -1
commit 1ef412d3a7492c0c2e615b6e3a3c7371fdb7f7ac (HEAD ->
xalan-j_xslt3.0_mvn, origin/xalan-j_xslt3.0_mvn)

I'm not sure what the "xalan-j_xslt3.0_mvn" folder is, so I'll assume
that's your local folder name. I have:

find . -name "*.jar"

./target/xalan-java-3.0.1.jar
./libs/edu/princeton/cs/cup_runtime/1.0/cup_runtime-1.0.jar
./libs/edu/princeton/cs/java_cup/1.0/java_cup-1.0.jar
./libs/org/apache/commons/bsf/1.0/bsf-1.0.jar
./libs/org/apache/xerces/xercesImpl/2.12.3/xercesImpl-2.12.3.jar
./libs/org/apache/xerces/xml-apis/1.4.02/xml-apis-1.4.02.jar
./libs/org/apache/xsl/xpath31_types/1.0/xpath31_types-1.0.jar
./libs/JLex/JLex/1.0/jlex-1.0.jar

So I'll copy the 3 files below from these various folders.


>
> xpath31_types-1.0.jar
> xercesImpl-2.12.3.jar
> xml-apis-1.4.02.jar
>
> Please navigate to folder
>
> D:\eclipseWorkspaces\xalanj\xalan-j_xslt3.0_mvn\src\test\resources\fn_transform
>      (wherever this folder is on your local)
>
> Please run following command,
>
>
> D:\eclipseWorkspaces\xalanj\xalan-j_xslt3.0_mvn\src\test\resources\fn_transform>d:\jdk-1.8\bin\java
> -Djava.endorsed.dirs=D:\xalan_3.0.1 org.apache.xalan.xslt.Process -in
> test9.xsl -xsl test9.xsl
>
> This should produce following expected result
>
> <result>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;details&gt;&#13;
>    &lt;a&gt;1&lt;/a&gt;&#13;
>    &lt;b&gt;2&lt;/b&gt;&#13;
>    &lt;c&gt;3&lt;/c&gt;&#13;
>    &lt;d&gt;4&lt;/d&gt;&#13;
>    &lt;e&gt;5&lt;/e&gt;&#13;
>    &lt;f&gt;6&lt;/f&gt;&#13;
>    &lt;g&gt;7&lt;/g&gt;&#13;
> &lt;/details&gt;&#13;
> </result>
>

Then I get:

java -Djava.endorsed.dirs=/Users/garygregory/tmp/xalan_3.0.1/
org.apache.xalan.xslt.Process -in test9.xsl -xsl test9.xsl
<result>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;details&gt;
   &lt;a&gt;1&lt;/a&gt;
   &lt;b&gt;2&lt;/b&gt;
   &lt;c&gt;3&lt;/c&gt;
   &lt;d&gt;4&lt;/d&gt;
   &lt;e&gt;5&lt;/e&gt;
   &lt;f&gt;6&lt;/f&gt;
   &lt;g&gt;7&lt;/g&gt;
&lt;/details&gt;
</result>

That doesn't look like what you have above.

Gary


>
> Please let us know whether you're getting these results, or any other
> result.
>
>
> --
> Regards,
> Mukul Gandhi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.