VERIFIED SOLUTION i
X

Resolve unable to run XPATH Java code under custom transform groovy script at transform stage in Spectrum

Issue

Unable to run below java codes in groovy script under custom transform in transform stage:

import org.apache.xpath.XPathAPI
import javax.xml.parsers.DocumentBuilderFactory
import java.text.SimpleDateFormat

Cause

XPATH class names are obsolete in new java versions which was used in xml parsing
 

Resolution

UPDATED: April 6, 2018


There is XML parsing capability built into groovy that can be used. Refer to this page for further illustration.

Environment Details


Product affected: Spectrum™ Technology Platform

Operating System: Windows, Linux, UNIX

Versions: 10 SP1, 11 SP1, 12 SP1
 

Downloads

  • No Downloads