must have an even number of URl's error while
creating a new extended term
|
Technote
(troubleshooting)
Problem(Abstract)
|
You follow the step "Define the new term type" for
"Creating a new extended term and condition type for contracts and
accounts" found here at the link below:
URL: http://publib.boulder.ibm.com/infocenter/wchelp/v6r0m0/topic/tc-customization/tasks/tctcreate.htm
You then receive an error "must have even number of URI's" for
TCConfiguration.xsd within the trace.log file when WC_CONTRACT tracing is
turned on.
|
Cause
|
There is a typo error in the suggested contents of the
"TCConfigurationExt.xml" file.
|
Resolving the
problem
|
- Correct TCConfigurationExt.xml.
The correction is highlighted in red as shown below. Please note that
there needs to be a space between contract and
TCConfiguration.xsd
<?xml version="1.0" encoding="UTF-8"?>
<TCConfiguration
xmlns="http://www.ibm.com/xmlns/prod/commerce/9/contract"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:oa="http://www.openapplications.org/oagis/9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.ibm.com/xmlns/prod/commerce/9/contract
TCConfiguration.xsd"
resourceBundle="contract.customTCRB">
<TCDefinition type="SurChargeTC" existing="false" usage="Contract"
display="true">
<Display displayNameKey="SurChargeTC"
descriptionKey="SurChargeTCDescription"/>
<Property name="waiveSurCharge" column="INTEGERFIELD1" required="true"
changeable="true">
<Display displayNameKey="waiveSurCharge"
descriptionKey="waiveSurChargeDescription"/>
</Property>
<Property name="surChargeAmount" column="FLOATFIELD1" required="false"
changeable="true">
<Display displayNameKey="surChargeAmount"
descriptionKey="surChargeAmountDescription"/>
</Property>
</TCDefinition>
</TCConfiguration>
- Restart the WebSphere Commerce server.
|
|
|
Cross Reference information
|
Segment
| Product
| Component
| Platform
| Version
| Edition
|
Commerce
| WebSphere Commerce - Express
| Configuration
| i5/OS, Linux, Windows
| 6.0
|
|
Commerce
| WebSphere Commerce Professional Edition
| Configuration
| AIX, i5/OS, Linux, Solaris, Windows
| 6.0
| |
|
Current web document: http://www.ibm.com/support/docview.wss?uid=swg21273158
|