[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Ant XSLT task issues - redo

Subject: Re: Ant XSLT task issues - redo
From: "dvint dvint@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 19 Feb 2024 15:38:46 -0000
Re:  Ant XSLT task issues - redo
I posted her as an XSLT adjacent question. I figured if anyone was using ant
with xslt it would be here.Since posting, I continued to work on the problem.
For the record, I dropped the use of the xslt task and switched to the Java
task to run my stylesheets. For whatever reason, I was having issues with
getting a catalog resolver to work with theB  xslt task. The ant error was a
generic I/O message which I discovered was an issue about not finding the DTD.
After switching to Java, I discovered that the xslt task had an optimization
feature, that if the stylesheet or content hadn't changed, it skipped running.
I never verified, but that added to the flakiness I was experiencing. IB  also
reviewed my stylesheet and remembered the use of collection() that was causing
it to read all the files. I still can't explain why ut kept trying to process
a PDF file, when I restricted it to find *.xml and *.dita files.I was also
talking with oxygen support about their transform interface and some of the
odd things there. So far no explanation, but seems to be working now. I was
experiencing an issue where the ant script wasn't running at all. Then I
discovered that none of the transforms even the other ones were not
executing...danSent from my Verizon, Samsung Galaxy smartphone
-------- Original message --------From: "Piez, Wendell A. (Fed)
wendell.piez@xxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: 2/15/24
7:44 AM  (GMT-08:00) To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: 
Ant XSLT task issues - redo Hi Dan,Sorry to say, I think it's going to be hit
or miss for you to get help with your off-topic question.It's an Ant question,
right? Notwithstanding the typo in your third line.As for that - no it's not,
actually oXygen supports several different ways of interacting with your
system ('tie into your projects and environments'), not only Ant, including
XProc (a 'language') to say nothing of XSLT on its own....But that's an oXygen
question not an XSL question, and this is XSL-List.Ask on an Ant discussion
board?Good luck, Wendell-----Original Message-----From: dvint@xxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>Sent: Tuesday, February 13, 2024
12:31 PMTo: xsl <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>Subject:  Ant XSLT task
issues - redoSorry had a operator error and sent before completed.I'm trying
to use oXygen's environment to run a conversion effort that will be applied
several hundred times to different bundles of DITA content.oXygen has a
transform process that ties into their projects and environments. At is the
only "programming" language supported to do this.I've got the framework of
this process working but I'm getting an odd error when from Ant, I use the
<xslt> task to process the dita content.I have this:B B B B B B B  <target
name="asciidoc-conversion">B B B B B B B B B B B B B B B  <echo>=== Process
map for navigation and folder
structure</echo>B B B B B B B B B B B B B B B B B B B B B B B 
<echo>${normalMap}</echo><xsltbasedir="/Users/danvint/pubsrc/_src-data-files/
asciidoc-processing/Ixia-Source/dita-files/formatsampleX/dita/out/dita/"in="/
Users/danvint/pubsrc/_src-data-files/asciidoc-processing/Ixia-Source/dita-fil
es/formatsampleX/dita/out/dita/mrc1659720632866.ditamap"B B B 
style="/Users/danvint/pubsrc/dita2asciidoc/normal-map2asciidoc.xsl"destdir="/
Users/danvint/pubsrc/_src-data-files/asciidoc-processing/Ixia-Source/dita-fil
es/dummy"></xslt>B B B B  </target>My understanding is:- basedir should be
where the files live that I want to process- in should be the file that I want
to process- style is the stylesheet to apply- destdir where to write the
results.I get this error when running this:asciidoc-conversion:B B B B B 
[echo] === Process map for navigation and folder structureB B B B B 
[echo]/Users/danvint/pubsrc/_src-data-files/asciidoc-processing/Ixia-Source/d
ita-files/formatsampleX/dita/out/dita//mrc1659720632866.ditamapB B B B B 
[xslt] Transforming
into/Users/danvint/pubsrc/_src-data-files/asciidoc-processing/Ixia-Source/dit
a-files/dummyB B B B B  [xslt]
Processing/Users/danvint/pubsrc/_src-data-files/asciidoc-processing/Ixia-Sour
ce/dita-files/formatsampleX/dita/out/dita/FormatSample-samples2.pdfto/Users/d
anvint/pubsrc/_src-data-files/asciidoc-processing/Ixia-Source/dita-files/dumm
y/FormatSample-samples2.htmlB B B B B  [xslt] Loading
stylesheet/Users/danvint/pubsrc/dita2asciidoc/normal-map2asciidoc.xslB B B B 
B  [xslt] :
Error!file:/Users/danvint/pubsrc/dita2asciidoc/normal-map2asciidoc.xsl:
line380: An attribute whose value must be a QName or whitespace-separated list
of QNames had the value 'list chunks'Why is this trying to process
FormatSample-samples2.pdf instead of mrc1659720632866.ditamap as I
specified?When I run the stylesheet directly against the
mrc1659720632866.ditamap as specified everything works fine.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.