DataBinding: Bad error message when needed data source is missing
-----------------------------------------------------------------

                 Key: XAP-264
                 URL: https://issues.apache.org/jira/browse/XAP-264
             Project: XAP
          Issue Type: Bug
          Components: Data Binding
            Reporter: Trevor Oldak


OPen one of the xap dataBinding examples.
Change a documentDataSource's id to one that isn't referenced.
Run the new xal code.
The following error message pops up:

Exception:Bad attribute with name dataSource and value myDataSource on element 
<binding xmlns="http://openxal.org/core/data"; id="employeeCount" 
dataSource="myDataSource" select="concat(&apos;# Items: 
&apos;,count(/employees/employee))"/> because of Exception: TypeError - 
xap.taghandling.AttributeConversionException is not a constructor

This doesn't explain very well to the user what went wrong

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to