On 01/20/2016 10:43 AM, KTIFA Sahbi wrote:
Hi,
I know your support policy specifies that you're not supposed to answer
me, but I'll try it anyway because we're a bit stucked here and
unfortunately, I'm not in charge of support subscription in my company
(however, I already inform my hierarchy of our needs...).
We're using ditac converter to convert dita files in a webapp and we
have image references in our topics like :
<image href="cproto://x/y/z" />
However, this href is never resolved or at least not as we would like
to. We found that image element are not treated like other elements. Is
there a way to override this href during preprocessing ? It might work
for PDF transformation if we copy resource files to local, but it won't
work for html transformation as we are in a webapp environment...
Thanks for any help, I hope you could help us and I hope that we'll
subscribe to your support in order to get even more help !
Have a good day
You have already sent a support request related to custom URL protocols.
You said in your first support request:
I can't declared my custom protocol handler because Tomcat is already defining
one at startup (factory in java.net.URL)
After thinking for a couple of hours about your problem and making a
number of unsuccessful experimentations, I now confirm that (of course,
aside creating a custom URLStreamHandler and registering a custom URL
scheme with the Java runtime) there is *NO* *WAY* to let ditac process
something like:
<image href="cproto://x/y/z" />
without modifying the source code of ditac.
How this can be done is completely out of the scope or normal support
and this, even if you were a paying customer.
But once again, please remember this quote contained in the answer to
your first support request:
Please note that you simply cannot be *blocked* by XMLmind DITA Converter.
XMLmind DITA Converter is open source software. You are a Java developer. So
why not make all the changes you need?
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support