Fail to start BW process with schema error: The attribute, 'name', is not valid with respect to its attribute use.
book
Article ID: KB0082284
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for SAP Solutions
8.x
Description
When start the BW process that has TIBCO ActiveMatrix BusinessWorks™ Plug-in for SAP activities, the process failed to start with a XSD validation error on SAP IDOC or BAPI schema, below is an example for the error trace:
-TIBCO-BW-CACHE-RUNTIME-XSD-400002: Error loading schema at location [<schema file name>] with targetNamespace of [<namespace name>]: [cvc-complex-type.3.1: The attribute, 'name', is not valid with respect to its attribute use.]
Issue/Introduction
Fail to start BW process with schema error: The attribute, 'name', is not valid with respect to its attribute use.
Environment
ALL
Resolution
The SAP Plugin IDOC or BAPI schema use the 'name' attribute to save the IDOC segment name or BAPI parameter item name. The 'name' attribute in the xsd file is NCName type, for the NCName, the following restricting applied to the NCName type value: 1. can not contain several symbol characters like :, @, $, %, &, /, +, ,, ;, whitespace characters or different parenthesis. 2. can not begin with a number, dot or minus character although they can appear later in an NCName.
When such error occurred, please check in the mentioned schema file for name attributes, verify if any value violates the NCName type. Then check with SAP team to change the segment name or BAPI parameter item name to the supported format.