Introduction

This artifact provides a CurrencyDirectory implementation backed by XML documents. XML resources are read using any available JaxpCurrenciesProvider implementation. The DefaultJaxpCurrenciesProvider implementation searches the classpath for resources at location META-INF/jdtaus/currencies.xml.

The implementation supports documents conforming to schemas as listed in the following table. Support for deprecated schemas may be removed in next major releases so that it is recommended to upgrade any documents to conform to the latest schema before upgrading to such releases.

Namespace URI Schema location Default document Introduced in End of support
http://jdtaus.org/banking/xml/currencies jdtaus-currencies-1.0.xsd currencies-1.0.xml 1.0 2.0
http://jdtaus.org/banking/model jdtaus-banking-1.0.xsd currencies-1.1.xml 1.4 2.0
http://jdtaus.org/banking/model jdtaus-banking-1.1.xsd currencies-1.2.xml 1.8

Upgrading from 1.0

All released 1.0 artifacts come with a default currencies.xml document located at META-INF/jdtaus/currencies.xml. Starting with version 1.1 this default XML document is no longer part of the artifact's jar file. When upgrading your application to 1.1 you need to provide the currency configuration yourself by either placing at least one XML document in the application's classpath for use by class DefaultJaxpCurrenciesProvider or by supplying a custom JaxpCurrenciesProvider implementation providing the currency resources. The former default document is available for as a starting point from here.