You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Mukul Gandhi <mu...@apache.org> on 2023/04/14 12:17:52 UTC

xml-dtm.jar file specified within xalanj xsltc documentation

Hi Gary & all,
   There were few minor changes, done to XalanJ xsltc documentation
page at https://xalan.apache.org/xalan-j/xsltc_usage.html, today.

On the above cited page, within the section "Setting the system
classpath for XSLTC -> Unbundled System Classpath", the jar file
xml-dtm.jar is referred. I can't seem to find this file, anywhere
within XalanJ repositories, or any information about how this file may
be produced.

Does anyone knows, whether usage of file xml-dtm.jar is really needed
to use XalanJ XSLTC's Unbundled System Classpath approach? If this
file is needed to use XalanJ's XSLTC processor, how can users get or
produce this file?


-- 
Regards,
Mukul Gandhi

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


Re: xml-dtm.jar file specified within xalanj xsltc documentation

Posted by Joseph Kesselman <ke...@alum.mit.edu>.
I seem to remember that regex might be needed in later versions of XSLT. But we can deal with that when we get to it.

If we don't need it now, I favor dropping it and advising users of which we had been carrying in case they have dependencies not otherwise accounted for.

--
   /_  Joe Kesselman (he/him/his)
-/ _) My Alexa skill for New Music/New Sounds fans:
   /   https://www.amazon.com/dp/B09WJ3H657/

() Plaintext Ribbon Campaign
/\ Stamp out HTML mail!
________________________________
From: Mukul Gandhi <mu...@apache.org>
Sent: Friday, April 14, 2023 10:35:30 AM
To: dev@xalan.apache.org <de...@xalan.apache.org>
Subject: Re: xml-dtm.jar file specified within xalanj xsltc documentation

Hi Joseph & all,

On Fri, Apr 14, 2023 at 7:45 PM Mukul Gandhi <mu...@apache.org> wrote:

> Perhaps regexp.jar shall also be needed (as mentioned currently within
> the XalanJ docs), if we're using regex features within XSLT
> transformation (but I've not been able to test this yet).

I think, regexp.jar shall also not be needed to compile and run XalanJ
translets, as we concluded within another thread on this list recently
that XalanJ implementation and tests codebase has no dependency on
regexp.jar file.


--
Regards,
Mukul Gandhi

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


Re: xml-dtm.jar file specified within xalanj xsltc documentation

Posted by Mukul Gandhi <mu...@apache.org>.
Hi Joseph & all,

On Fri, Apr 14, 2023 at 7:45 PM Mukul Gandhi <mu...@apache.org> wrote:

> Perhaps regexp.jar shall also be needed (as mentioned currently within
> the XalanJ docs), if we're using regex features within XSLT
> transformation (but I've not been able to test this yet).

I think, regexp.jar shall also not be needed to compile and run XalanJ
translets, as we concluded within another thread on this list recently
that XalanJ implementation and tests codebase has no dependency on
regexp.jar file.


-- 
Regards,
Mukul Gandhi

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


Re: xml-dtm.jar file specified within xalanj xsltc documentation

Posted by Mukul Gandhi <mu...@apache.org>.
Hi Joseph,

On Fri, Apr 14, 2023 at 7:12 PM Joseph Kesselman <ke...@alum.mit.edu> wrote:

> ... Ah. On consideration, this might refer to wanting to run XSLTC-generated code without the full Xalan jarfile present. In Principle that should be possible if some runtime dependencies were provided, with DTM being one of those. But it sounds like that option is mostly theoretical than real right now; we would need to be generating and publishing the DTM jarfile for that to work.

I've just now, run an example XSLT transformation locally using
XalanJ's XSLTC processor, and following are my findings,

1) To compile a translet only following jars are needed : xsltc.jar,
bcel jar (bcel-6.7.0.jar for XalanJ 2.7.3), runtime.jar

2) To run a translet, only the translet and xsltc.jar are needed.
Perhaps regexp.jar shall also be needed (as mentioned currently within
the XalanJ docs), if we're using regex features within XSLT
transformation (but I've not been able to test this yet).


-- 
Regards,
Mukul Gandhi

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


Re: xml-dtm.jar file specified within xalanj xsltc documentation

Posted by Joseph Kesselman <ke...@alum.mit.edu>.
... Which is part of why I pushed the later IBM processor over to a cursor abstraction, making DTM much more an optional part of the system rather than having to (ab)use whatever-to-DTM adapters.


--
   /_  Joe Kesselman (he/him/his)
-/ _) My Alexa skill for New Music/New Sounds fans:
   /   https://www.amazon.com/dp/B09WJ3H657/

() Plaintext Ribbon Campaign
/\ Stamp out HTML mail!
________________________________
From: Joseph Kesselman <ke...@alum.mit.edu>
Sent: Friday, April 14, 2023 9:42:25 AM
To: dev@xalan.apache.org <de...@xalan.apache.org>
Subject: Re: xml-dtm.jar file specified within xalanj xsltc documentation

... Ah. On consideration, this might refer to wanting to run XSLTC-generated code without the full Xalan jarfile present. In Principle that should be possible if some runtime dependencies were provided, with DTM being one of those. But it sounds like that option is mostly theoretical than real right now; we would need to be generating and publishing the DTM jarfile for that to work.

--
   /_  Joe Kesselman (he/him/his)
-/ _) My Alexa skill for New Music/New Sounds fans:
   /   https://www.amazon.com/dp/B09WJ3H657/

() Plaintext Ribbon Campaign
/\ Stamp out HTML mail!
________________________________
From: Mukul Gandhi <mu...@apache.org>
Sent: Friday, April 14, 2023 8:17:52 AM
To: dev@xalan.apache.org <de...@xalan.apache.org>
Subject: xml-dtm.jar file specified within xalanj xsltc documentation

Hi Gary & all,
   There were few minor changes, done to XalanJ xsltc documentation
page at https://xalan.apache.org/xalan-j/xsltc_usage.html, today.

On the above cited page, within the section "Setting the system
classpath for XSLTC -> Unbundled System Classpath", the jar file
xml-dtm.jar is referred. I can't seem to find this file, anywhere
within XalanJ repositories, or any information about how this file may
be produced.

Does anyone knows, whether usage of file xml-dtm.jar is really needed
to use XalanJ XSLTC's Unbundled System Classpath approach? If this
file is needed to use XalanJ's XSLTC processor, how can users get or
produce this file?


--
Regards,
Mukul Gandhi

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


Re: xml-dtm.jar file specified within xalanj xsltc documentation

Posted by Joseph Kesselman <ke...@alum.mit.edu>.
... Ah. On consideration, this might refer to wanting to run XSLTC-generated code without the full Xalan jarfile present. In Principle that should be possible if some runtime dependencies were provided, with DTM being one of those. But it sounds like that option is mostly theoretical than real right now; we would need to be generating and publishing the DTM jarfile for that to work.

--
   /_  Joe Kesselman (he/him/his)
-/ _) My Alexa skill for New Music/New Sounds fans:
   /   https://www.amazon.com/dp/B09WJ3H657/

() Plaintext Ribbon Campaign
/\ Stamp out HTML mail!
________________________________
From: Mukul Gandhi <mu...@apache.org>
Sent: Friday, April 14, 2023 8:17:52 AM
To: dev@xalan.apache.org <de...@xalan.apache.org>
Subject: xml-dtm.jar file specified within xalanj xsltc documentation

Hi Gary & all,
   There were few minor changes, done to XalanJ xsltc documentation
page at https://xalan.apache.org/xalan-j/xsltc_usage.html, today.

On the above cited page, within the section "Setting the system
classpath for XSLTC -> Unbundled System Classpath", the jar file
xml-dtm.jar is referred. I can't seem to find this file, anywhere
within XalanJ repositories, or any information about how this file may
be produced.

Does anyone knows, whether usage of file xml-dtm.jar is really needed
to use XalanJ XSLTC's Unbundled System Classpath approach? If this
file is needed to use XalanJ's XSLTC processor, how can users get or
produce this file?


--
Regards,
Mukul Gandhi

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


Re: xml-dtm.jar file specified within xalanj xsltc documentation

Posted by Joseph Kesselman <ke...@alum.mit.edu>.
DTM should be the Document Table Model, the space-optimized immutable Document Model implementation that Xalan was designed around. While it is possible to run Xalan over non-DTM models, as of last time I looked the DTM layer is an essential internal API and is not optional for Xalan.

I'm slightly surprised to see mention of DTM as an independent jarfile.The only reason I can think of for exposing it that way would be if we had been asked to make DTM available for reuse in another project.

If we can run without that separate jarfile, this means the DTM code is being compiled into Xalan.

So I *think* the reference to xml_dtm.jar is simply a mistake. But we should sanity check that before removing it from the doc.

--
   /_  Joe Kesselman (he/him/his)
-/ _) My Alexa skill for New Music/New Sounds fans:
   /   https://www.amazon.com/dp/B09WJ3H657/

() Plaintext Ribbon Campaign
/\ Stamp out HTML mail!

________________________________
From: Mukul Gandhi <mu...@apache.org>
Sent: Friday, April 14, 2023, 8:19 AM
To: dev@xalan.apache.org <de...@xalan.apache.org>
Subject: xml-dtm.jar file specified within xalanj xsltc documentation

Hi Gary & all,
   There were few minor changes, done to XalanJ xsltc documentation
page at https://xalan.apache.org/xalan-j/xsltc_usage.html, today.

On the above cited page, within the section "Setting the system
classpath for XSLTC -> Unbundled System Classpath", the jar file
xml-dtm.jar is referred. I can't seem to find this file, anywhere
within XalanJ repositories, or any information about how this file may
be produced.

Does anyone knows, whether usage of file xml-dtm.jar is really needed
to use XalanJ XSLTC's Unbundled System Classpath approach? If this
file is needed to use XalanJ's XSLTC processor, how can users get or
produce this file?


--
Regards,
Mukul Gandhi

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