Re: apparently running into bug 4476 with Saxon 9.9.1.7

Michael Kay <mike-JkSD5nQpfvpWk0Htik3J/[email protected]>
Newsgroups gmane.text.xml.saxon.help
Message-ID <[email protected]>
If you're calling from the command line, rather than from a Java application, then you can supply a configuration file in the -config parameter, where the configuration file includes:

<configuration xmlns="http://saxon.sf.net/ns/configuration">
  <resources>
    <fileExtension extension="fods" mediaType="application/xml"/>
  </resources>   
</configuration>


Michael Kay
Saxonica

> On 17 Aug 2020, at 23:47, Wolfhart Totschnig <[email protected]> wrote:
> 
> Thank you, Michael, for the fast reply!
> 
>> I would suggest doing
>> 
>> configuration.registerFileExtension("fods", "application/xml");
> 
> I am sorry for my ignorance, but where do I need to put this code? Somewhere in the stylesheet? Or in the command with which I call Saxon? That command currently looks like this:
> 
> java -cp "/home/wolfhart/Programs/Saxon/saxon9he.jar" net.sf.saxon.Transform -s:new_zettel.xsl -xsl:new_zettel.xsl
> 
> Wolfhart
> 
> 
> _______________________________________________
> saxon-help mailing list archived at http://saxon.markmail.org/
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/saxon-help

_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[email protected]
https://lists.sourceforge.net/lists/listinfo/saxon-help
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.