]
Barry LaFond commented on TEIIDDES-824:
---------------------------------------
BooksDatatypes.xsd defines PublicationYear which is of type "xsd:gYear". gYear
is a primative type definition gYear (
)
So let's break this out as a Data-type utility and use it for the Action/builder
rather than custom code inside.
Wrong runtime-type generated during the XML transformation generation
from XSD
------------------------------------------------------------------------------
Key: TEIIDDES-824
URL:
https://issues.jboss.org/browse/TEIIDDES-824
Project: Teiid Designer
Issue Type: Bug
Components: Transformations
Affects Versions: 7.2
Environment: F14 JBDS-CR2
Reporter: Ramesh Reddy
Assignee: Dan Florian
Fix For: 7.4
1) Imported the Books.xsd, BookDataTypes.xsd
2) Open the Books, xml schema and select "bibilography" element
3) Right click "Modeling -> Create XML to Scalar Transformation"
The generated transformation for the "published" column is set as
"gYear", thus the transformation validation fails.
"gYear" is not a Teiid "runtime" data type. "gYear" is
design time XML data type, however there are mappings defined for each design time data
type to runtime type. I suspect, we are not doing the translations. For Teiid
"gYear" should be mapped to "biginteger". Although "gYear"
definition can not really map to biginteger (as it has optional timezone its definition),
that how Teiid understands currently. We need to also make sure other 'g' types
are also mapped correctly.
If there is complex type that can not be deciphered correctly it may be good to leave as
xml fragment.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: