XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Dan VintSubject: XML Catalog support - DITA
Author: Dan Vint
Date: 23 Sep 2014 12:15 PM
I've got a set of DTDs, stylesheets and catalogs that all work within the oXygen environment. When I try to use the same catalog and work with stylesheets and files that rely on it, Stylus is unable to find the right path. In this current situation, I'm working with DITA content and the stylesheets and DTDs configured to work with the Open Toolkit. I'm getting this as an error:

-----------
at: file:///c:/tools/_OUTPU~1/data/DITA-OT1.8.5/plugins/org.dita.xhtml/xsl/xslhtml/dita2htmlImpl.xsl 17
java.lang.RuntimeException: Error: at xsl:import on line 17 column 72 of dita2htmlImpl.xsl:
XTSE0165: I/O error reported by XML parser processing plugin:org.dita.base:xsl/common/output-message.xsl: unknown protocol: plugin

at com.exln.stylus.CSaxon8Driver.doProcessing(CSaxon8Driver.java:286)
at com.exln.stylus.CProcessorDriver.process(CProcessorDriver.java:116)
dita2htmlImpl.xsl (17, 72)
Error: at xsl:import on line 17 column 72 of dita2htmlImpl.xsl: XTSE0165: I/O error reported by XML parser processing plugin:org.dita.base:xsl/common/output-message.xsl: unknown protocol: plugin
------------------

This catalog file is generated by the Open Toolkit. Why does it not work in this environment?

Posttop
Ivan PedruzziSubject: XML Catalog support - DITA
Author: Ivan Pedruzzi
Date: 23 Sep 2014 02:06 PM
Dan,

It looks like that this XSLT has been designed to work exclusively with Oxygen.

If you look at dita2htmlImpl.xsl line 17 column 72 you most likely have an include/import with an href pointing to non standard URL

plugin:org.dita.base:xsl/common/output-message.xsl

notice the URL prefix "plugin:"

I am speculating that this is a technique for loading a file which is stored inside one of the Oxygen jar libraries using customer URI resolver.

Does it help?

Ivan Pedruzzi
Stylus Studio Team

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.