]
Barry LaFond commented on TEIIDDES-2236:
----------------------------------------
The issue popped up because of the initial legacy Salesforce MED being constructed based
on a non-space name rule. The *modelExtension.xsd" specified the type for this name
value as *xs:NCName* which the TeiidInstanceMedListener was using to validate the incoming
extension name values and throwing the exception.
The fix is to relax the datatype to *xs:token* which does allow SPACEs. The MED
editor's validation framework will still prevent any new MEDs to defined property
names containing SPACEs
An error occurred while attempting to analyse the teiid
instance's translator: salesforce
-----------------------------------------------------------------------------------------
Key: TEIIDDES-2236
URL:
https://issues.jboss.org/browse/TEIIDDES-2236
Project: Teiid Designer
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Extension Framework, Teiid Integration
Affects Versions: 8.5
Reporter: Ramesh Reddy
Assignee: Barry LaFond
Fix For: 8.6, 8.5.1
This is using latest Teiid 8.8 version. Occurs when server is started or refreshed.
{code}
java.lang.Exception: The Model Extension Definition file "salesforce" did not
parse successfully and cannot be added to or updated in the registry.
Parsing Error: cvc-datatype-valid.1.2.1: 'Defaulted on Create' is not a valid
value for 'NCName'.
Parsing Error: cvc-attribute.3: The value 'Defaulted on Create' of attribute
'name' on element 'property' is not valid with respect to its type,
'NCName'.
Parsing Error: cvc-datatype-valid.1.2.1: 'Picklist Values' is not a valid value
for 'NCName'.
Parsing Error: cvc-attribute.3: The value 'Picklist Values' of attribute
'name' on element 'property' is not valid with respect to its type,
'NCName'.
Parsing Error: cvc-datatype-valid.1.2.1: 'Supports Create' is not a valid value
for 'NCName'.
Parsing Error: cvc-attribute.3: The value 'Supports Create' of attribute
'name' on element 'property' is not valid with respect to its type,
'NCName'.
Parsing Error: cvc-datatype-valid.1.2.1: 'Supports Delete' is not a valid value
for 'NCName'.
Parsing Error: cvc-attribute.3: The value 'Supports Delete' of attribute
'name' on element 'property' is not valid with respect to its type,
'NCName'.
Parsing Error: cvc-datatype-valid.1.2.1: 'Supports ID Lookup' is not a valid
value for 'NCName'.
Parsing Error: cvc-attribute.3: The value 'Supports ID Lookup' of attribute
'name' on element 'property' is not valid with respect to its type,
'NCName'.
Parsing Error: cvc-datatype-valid.1.2.1: 'Supports Merge' is not a valid value
for 'NCName'.
Parsing Error: cvc-attribute.3: The value 'Supports Merge' of attribute
'name' on element 'property' is not valid with respect to its type,
'NCName'.
Parsing Error: cvc-datatype-valid.1.2.1: 'Supports Query' is not a valid value
for 'NCName'.
Parsing Error: cvc-attribute.3: The value 'Supports Query' of attribute
'name' on element 'property' is not valid with respect to its type,
'NCName'.
Parsing Error: cvc-datatype-valid.1.2.1: 'Supports Replicate' is not a valid
value for 'NCName'.
Parsing Error: cvc-attribute.3: The value 'Supports Replicate' of attribute
'name' on element 'property' is not valid with respect to its type,
'NCName'.
Parsing Error: cvc-datatype-valid.1.2.1: 'Supports Retrieve' is not a valid value
for 'NCName'.
Parsing Error: cvc-attribute.3: The value 'Supports Retrieve' of attribute
'name' on element 'property' is not valid with respect to its type,
'NCName'.
Parsing Error: cvc-datatype-valid.1.2.1: 'Supports Search' is not a valid value
for 'NCName'.
Parsing Error: cvc-attribute.3: The value 'Supports Search' of attribute
'name' on element 'property' is not valid with respect to its type,
'NCName'.
at
org.teiid.designer.extension.ui.server.TeiidInstanceMedListener.deploy(TeiidInstanceMedListener.java:132)
at
org.teiid.designer.extension.ui.server.TeiidInstanceMedListener.analyseTranslators(TeiidInstanceMedListener.java:224)
at
org.teiid.designer.extension.ui.server.TeiidInstanceMedListener.access$0(TeiidInstanceMedListener.java:192)
at
org.teiid.designer.extension.ui.server.TeiidInstanceMedListener$1.run(TeiidInstanceMedListener.java:251)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
{code}