Re: Error Message [No error message provided.]

Posted by jfmoreno on
URL: https://discuss.orbeon.com/Error-Message-No-error-message-provided-tp43502p43506.html

Hi:

  Thanks for your help.
 
I have install the recent nightly build of OXF. The previous problem does not persist. Still have the following:


Error Message
XPath syntax error at char 69 in {...ignIndicator='true','/','')...}:
expected "then", found ","

Show details

Hide details

Call Stack
Resource URL Line Column Description XML Element
oxf:/config/xforms-widgets.xsl 24 N/A preparing XPath expression
expression ? string(subsequence(if(/cac:Operation/cbc:SignIndicator='true','/',''), 1, 1))  
oxf:/ops/pfc/xforms-epilogue.xpl 140 60 reading processor output
name ? document
id ? xhtml-data  <p:output name="document" id="xhtml-data"/> 
oxf:/ops/pfc/xforms-epilogue.xpl 151 59 reading processor output
name ? data
ref ? xformed-data  <p:output name="data" ref="xformed-data"/> 
oxf:/config/epilogue.xpl 44 58 reading processor output
name ? xformed-data
id ? xformed-data  <p:output name="xformed-data" id="xformed-data"/> 
oxf:/config/epilogue-servlet.xpl 31 48 reading processor output
name ? xformed-data <p:param type="input" name="xformed-data"/> 
oxf:/config/epilogue.xpl 65 46 executing processor
name ? {http://www.orbeon.com/oxf/processors}pipeline <p:processor name="oxf:pipeline">...</p:processor> 
oxf:/apps/telconxml/page-flow.xml 19 47 executing processor
name ? {http://www.orbeon.com/oxf/processors}pipeline  
oxf:/page-flow.xml 33 106 reading page model data output
page id ? apps
model ? apps/${1}/page-flow.xml  <page id="apps" path-info="/([^/]+)/.*" matcher="oxf:perl5-matcher" model="apps/${1}/page-flow.xml"/> 

Java Exceptions (8 total)
Java Exceptions are the native mechanism by which Orbeon Forms reports errors. More than one exception may be provided below but usually the first exception along with the Orbeon Forms Stack Trace above provide enough information to track down an issue.

 org.orbeon.saxon.trans.StaticError  
Exception Class org.orbeon.saxon.trans.StaticError
Message XPath syntax error at char 69 in {...ignIndicator='true','/','')...}:
    expected "then", found ","  
Servlet Stack Trace

(327 method calls)  


The XPath expression of my XForm is:
   
    <xforms:output value="if(//cac:Operation/cbc:SignIndicator='true','/','')" />


Thanks in advance. Best regards.