BusinessEvents Schema Generator does not set final attribute correctly.

BusinessEvents Schema Generator does not set final attribute correctly.

book

Article ID: KB0090918

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
==========
BusinessEvents Schema Generator does not set final attribute correctly.

Environment:
==========
TIBCO BusinessEvents 3.0.1
All Operating Systems

Resolution:
========

Using ‘Generate Schema’ to generate the xsd schema of the concept, the generator does not set the final attribute of the ComplexType correctly. It generates final=””.
It is OK to leave this attribute empty but when you open an XML instance which is referring the element which is defined in this schema, it gives “Unrecognized restriction Value”.

This error can be fixed by changing final=”” to final=”restriction”

Issue/Introduction

BusinessEvents Schema Generator does not set final attribute correctly.