Project

Profile

Help

Bug #2750

closed

Setting of fileExtension on configuration file does not take effect

Added by O'Neil Delpratt almost 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Internals
Sprint/Milestone:
-
Start date:
2016-05-17
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.7
Fix Committed on Branch:
9.7, trunk
Fixed in Maintenance Release:
Platforms:

Description

Given the following command:

java -classpath saxon9ee.jar net.sf.saxon.Transform -config:config.xml -it:main -t -xsl:test.xsl

It seems like setting the resource fileExtension mapping in the config file does not take effect:

<configuration edition="EE" xmlns="http://saxon.sf.net/ns/configuration">
	<global expandAttributeDefaults="false" validationComments="true" />

	<xslt recoveryPolicy="doNotRecover" />

	<serialization saxon:indent-spaces="4" xmlns:saxon="http://saxon.sf.net/" />

	<resources>
		<fileExtension extension="rdf" mediaType="application/xml" />
	</resources>
</configuration>

Please register to edit this issue

Also available in: Atom PDF