LD 8.1 - DVB does not work correctly with a target schema containing "include" - CR123197
(Doc ID 773907.1)
Last updated on MAY 06, 2017
Applies to:AquaLogic Data Services Platform (ALDSP) / Liquid Data / 8.1
Information in this document applies to any platform
DESCRIPTION: DVB does not work correctly with a target schema containing xsd:include. The following are detailed symptoms and steps to reproduce the error: 1) The DVB does not save the target schema correctly. Steps to reproduce: - Start DVB. - Set the attached schema OTA_VehicleCommonTypes.xsd as target schema. - Save the target schema as a different name. - Open the saved target schema using XML spy or any editor. The following lines contained in the original schema are removed. <xs:include schemaLocation="OTA_SimpleTypes.xsd"/> <xs:include schemaLocation="OTA_CommonTypes.xsd"/> <xs:include schemaLocation="OTA_CommonPrefs.xsd"/> 2) The project file can not be opened correctly and there is no error message reported in DVB. - Continue steps specified in 1) - Do some mappings using any source or constants. - Save project file. - Open the saved project file. - DVB does not display target schema and there is no error message displayed. In DVB console, some exception is outputed. java.lang.RuntimeException: Attribute xsd:StringLength1to64 has an undefined type in (DOM) at com.enosysmarkets.xsparser.AttributeParser.makeLocal(Unknown Source) at com.enosysmarkets.xsparser.AttributeGroupParser.makeLocal(Unknown Source) at com.enosysmarkets.xsparser.ComplexTypeParser.makeLocal(Unknown Source) However, the exception is misleading as the root cause is the line above the attribute xsd:StringLength1to64 in target schema. <xsd:attribute name="Type" type="xsd:OTA_CodeType" use="required"/> 3) Once you have performed some mapping between a datasource and the target schema you CANNOT deploy the query with this schema. DVB displays the error message this time which is the same as the above exception. CONFIGURATION: Liquid Data 8.1
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document