Could not compile stylesheet when clicking on a Service Offering
search cancel

Could not compile stylesheet when clicking on a Service Offering

book

Article ID: 246962

calendar_today

Updated On:

Products

CA Service Catalog

Issue/Introduction

When submitting OOTB and a custom offering, the following error appears in the browser:

Error Occurred:Cannot render page as it may not be saved in proper encoding format or may have compilation errors. Please refer to logs for more information

USM_HOME\view.log 

[DomProcessor] Error Generating Document javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet

USM_HOME\view\logs\ServiceCatalog.log:

[Fatal Error] catalogcheckout.xsl:1824:21: The element type "xsl:otherwise" must be terminated by the matching end-tag "</xsl:otherwise>"

Environment

Release : Service Catalog 17.x

Cause

outdated xsl files in the filestore folder (ie: C:\Program Files\CA\Service Catalog\filestore\custom\explorer\request). 

Resolution

1. Move .xsl from filestore folder to C:\temp or any folder outside Service Catalog

2. Stop Services > Remove translets from USM_HOME\view\translets > Remove cache from the browser

3. Start Services.

The customizations in .xsl file(s) should be recreated by taking OOTB files (ie: C:\Program Files\CA\Service Catalog\view\webapps\usm\explorer\request) as a base.