xsl-list
[Top] [All Lists]

RE: [xsl] DITA Open Toolkit woes

2010-01-05 10:09:24
As a matter of fact i'm using the toolkit myself since this morning. ;-)

Can you try out something like file:///c:/WINDOWS/clock.avi

See http://en.wikipedia.org/wiki/File_URI_scheme

Might be the solution to your problem.

Cheers,
Robby Pelssers


-----Original Message-----
From: G. Ken Holman [mailto:gkholman(_at_)CraneSoftwrights(_dot_)com] 
Sent: Tuesday, January 05, 2010 3:51 PM
To: XSL List
Subject: [xsl] DITA Open Toolkit woes

Hi folks!

Anyone on this list use the DITA Open Toolkit?  My customer reported 
a problem using the URI strings I've embedded in his bookmap files.

My customer deployed a bookmap with the following generated chapter 
element in it, and placed the files in a subdirectory of his 
deployment of the Open Toolkit:

   <chapter href="file:/C:/DITA-OT1.5/In/short1-chapter-1-3.xml"/>

This error message is reported:

   [pipeline] [DOTJ013E][ERROR] Failed to parse the referenced file 
'file:\C:\DITA-OT1.5\In\short1-chapter-1-3.xml' due to below 
exception. Please correct the reference base on the exception message.
   [pipeline] The filename, directory name, or volume label syntax is
incorrect
   [pipeline] java.io.IOException: The filename, directory name, or 
volume label syntax is incorrect

Note how the Open Toolkit has taken a perfectly valid URI string and 
munged it by changing forward slashes to back slashes and, 
understandably, the new filenames cannot be opened.

Relative URI strings are not available in this deployment ... I just 
need the toolkit to treat valid URI strings as valid URI strings 
without munging them.  Because I'm using XSLT in the generation of 
the bookmap, the filenames have to be full URI strings with 
"file:/C:/..." prefixes and not simply the DOS filename format "C:\...".

Does anyone know how this can be effected with the OT?

Thanks for your guidance!

. . . . . . . . . . . Ken

--
UBL and Code List training:      Copenhagen, Denmark 2010-02-08/10
XSLT/XQuery/XPath training after http://XMLPrague.cz 2010-03-15/19
XSLT/XQuery/XPath training:   San Carlos, California 2010-04-26/30
Vote for your XML training:   http://www.CraneSoftwrights.com/s/i/
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video lesson:    http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18
Video overview:  http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18
G. Ken Holman                 mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>