Paul; It appears you need to use a full pathname.  The XSLT processor
is not recognizing relative pathnames or the Eclipse workspace
context.  So you need to go all the way to the root, e.g. /Program
Files/TBCME/workspace/project/file.xls

We'll work on getting relative pathnames resolved for xslt.

-- Scott

On May 7, 2:42 pm, PaulZH <[email protected]> wrote:
> It is Composer ME.
>
> The error message is: Error:
> javax.xml.transform.TransformerConfigurationException: Failed to
> compile stylesheet. 1 error detected.
>
> java.lang.reflect.InvocationTargetException
>         at
> org.topbraidcomposer.sparqlmotion.actions.AbstractExecuteSPARQLMotionAction
> $1.run(AbstractExecuteSPARQLMotionAction.java:178)
>         at org.topbraidcomposer.core.util.ThreadUtil$1$1.run(ThreadUtil.java:
> 63)
>         at java.lang.Thread.run(Unknown Source)
> Caused by: javax.xml.transform.TransformerConfigurationException:
> Failed to compile stylesheet. 1 error detected.
>         at net.sf.saxon.PreparedStylesheet.prepare(PreparedStylesheet.java:
> 210)
>         at
> net.sf.saxon.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:
> 131)
>         at
> org.topbraid.xsl.module.convertXMLByXSLT.ConvertXMLByXSLT.execute(ConvertXMLByXSLT.java:
> 38)
>         at
> org.topbraid.sparqlmotion.engine.impl.ExecutionEngine.execute(ExecutionEngine.java:
> 212)
>         at
> org.topbraid.sparqlmotion.engine.impl.ExecutionEngine.executeModule(ExecutionEngine.java:
> 186)
>         at
> org.topbraid.sparqlmotion.engine.impl.ExecutionEngine.execute(ExecutionEngine.java:
> 155)
>         at
> org.topbraid.sparqlmotion.modules.impl.AbstractModule.executeSubScript(AbstractModule.java:
> 253)
>         at
> org.topbraid.sparqlmotion.lib.iterateOverSelect.IterateOverSelectModule.createGraph(IterateOverSelectModule.java:
> 82)
>         at
> org.topbraid.sparqlmotion.modules.impl.AbstractModule.getRDFOutput(AbstractModule.java:
> 800)
>         at
> org.topbraid.sparqlmotion.engine.impl.ExecutionEngine.executeModule(ExecutionEngine.java:
> 190)
>         at
> org.topbraid.sparqlmotion.engine.impl.ExecutionEngine.execute(ExecutionEngine.java:
> 155)
>         at
> org.topbraidcomposer.sparqlmotion.views.console.SPARQLMotionConsole.execute(SPARQLMotionConsole.java:
> 74)
>         at
> org.topbraidcomposer.sparqlmotion.actions.AbstractExecuteSPARQLMotionAction
> $1.run(AbstractExecuteSPARQLMotionAction.java:167)
>         ... 2 more
>
> When the xsl:include is commented out, no error is thrown.
>
> Paul
>
> On May 7, 4:40 pm, Scott Henninger <[email protected]> wrote:
>
>
>
> > Paul; What is the error?  And which version of Composer or Live?
>
> > -- Scott
>
> > On May 7, 7:45 am, PaulZH <[email protected]> wrote:
>
> > > Using an include of a stylesheet
> > > <xsl:include href="owfunctions.xsl"/>
> > > where the file owfunctions.xsl is next to the including stylesheet
> > > from where it is called throws an error.
>
> > > If I paste the content of this external stylesheet in the including
> > > one, it works.
>
> > --
> > You received this message because you are subscribed to the Google
> > Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
> > TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
> > To post to this group, send email to
> > [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group 
> > athttp://groups.google.com/group/topbraid-users?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
> TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group 
> athttp://groups.google.com/group/topbraid-users?hl=en

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to