DesignStudio 7.2 Fails To Build Automation Tasks With Model Variables In XQuery URL (Doc ID 1524554.1)

Last updated on NOVEMBER 05, 2014

Applies to:

Oracle Communications Design Studio - Version 7.2.1.0.0 and later
Information in this document applies to any platform.
Reviewed the currency on 05-Nov-2014

Symptoms

We tried to migrate our existing OSM 7.0.1 cartridge to OSM 7.2. The migration itself is working fine but when trying to build the cartridge, following error is resulted.

[plugin-assemble] Caused by: oracle.xml.parser.v2.XMLParseException: Invalid text 'http://xyz/cartridges/comresource/v%{RESOURCE_CARTRIDGE_VERSION}/xquery/outbound/billing/setNotifyBillingCorrelationId.xquery' in element: 'url'
[...]
BUILD FAILED
C:\com_osm72\cartridges\CentralOrderManagement\src\automationBuild.xml:162: Exception caught assembing plugins: Parse/validation of automation map 'C:\com_osm72\cartridges\CentralOrderManagement\cartridgeBuild\automation\automationMap.xml' using schema 'C:\com_osm72\cartridges\CentralOrderManagement\cartridgeBuild\automation\generatedMap.xsd' failed.

RESOURCE_CARTRIDGE_VERSION is defined as a model variable in our cartridge. If we replace %{RESOURCE_CARTRIDGE_VERSION} by it's value it is working fine. Our investigation discovered that between OSM 7.0.1 and 7.2 in the automationMap.xsd the type for url was changed from xs:token to anyURI.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms