Issues evaluating xpathvalue on a blob via xmlparse with JBEDS
Issue
- I have a transformation which attempts to evaluate an xpath expression on a data column (xml) created by the first view.
- Querying the view defined by the first transformation works, in other words the xml parses correctly. However, the xpath evaluation consistently fails with this error:
2012-04-11 14:33:58,168 WARN [org.teiid.PROCESSOR] (Worker725_QueryProcessorQueue29976) Processing exception 'Error Code:ERR.015.006.0011 Message:Unable to evaluate left expression of xpathvalue(XMLPARSE(DOCUMENT FR2.data WELLFORMED), '//*[local-name()="property" and @name="platypus.status"]/@value') = 'Deployed'' for request EesNeow+Impw.0. Exception type org.teiid.api.exception.query.ExpressionEvaluationException thrown from <a class="make_room_for_kcs" href="http://java.net" target="_blank">java.net</a>.PlainSocketImpl.socketConnect(Native Method).
- There is no conversion from blob to clob and xpathvalue does not accept a blob as an argument. How can I get this to work?
Environment
- JBoss Enterprise Data Services (JBEDS) 5.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.