Steven Hawkins created TEIID-2580:
-------------------------------------
Summary: xsi:nil is not honored by xmltable
Key: TEIID-2580
URL:
https://issues.jboss.org/browse/TEIID-2580
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 7.7
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 8.4.1, 8.5
If an element is returnable by xmltable, but marked as nil more than likely an exception
will be produced when attempting to convert the empty string value to a result.
For example:
{code}
select * from xmltable('/a/b' passing convert('<a
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><b
xsi:nil=\"true\"
xsi:type=\"xs:int\"/><b>1</b></a>', xml) columns val
integer path '.') as x
{code}
will error converting the first b element to an integer.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira