[
https://issues.apache.org/jira/browse/XAP-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468347
]
Turyn, Michael commented on XAP-263:
------------------------------------
A few current (as of 29-01-07) error messages are attached in
"DS_error_messages.txt". They are still not exceptionally helpful, but are
more informative than before---notably (for the case originating this bug
report, no data source at all):
Exception:Bad attribute with name dataSource and value myDataSource on element
<binding xmlns="http://openxal.org/core/data" id="employeeCount"
dataSource="myDataSource" select="concat('# Items:
',count(/employees/employee))"/> because of Exception: TypeError -
_10a.messages has no properties
...---most especially the first line (which could be improved with quotes
around the attribute name and value), and...
Exception:Error calling method:bind
Caused by:
Exception:Named context for quick binding not found for 'myDataSource'.
> DataBinding: Bad error message when no document data sources exist and one is
> needed
> ------------------------------------------------------------------------------------
>
> Key: XAP-263
> URL: https://issues.apache.org/jira/browse/XAP-263
> Project: XAP
> Issue Type: Bug
> Components: Data Binding
> Reporter: Trevor Oldak
> Attachments: DS_error_messages.txt
>
>
> Open a dataBinding example. Delete the documentDataSource tags, and run the
> application.
> An error pops up saying:
> Exception: TypeError - xap.data.bridge.dataFrameworkBridge has no properties
> This error doesn't help explain what is wrong
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.