Binding Syntax
JarkkoPeltonen opened this issue · comments
Hi,
this is a known limitation of the xml schemas provided by SAP. So this could be a feature request for OpenUI5 itself.
Anyways, I was already looking into these kinds of issues and have some ideas for future versions.
Btw: You are not using Expression Binding in your example. I changed title due to that respect.
BR
Chris
Hello,
Can you share your ideas?
I'm thinking of creating custom type that validates the binding. Then assign this type and current type of attribute as union to all attributes.
Br,
Jarkko
That's exactly what I thought of :) The custom type could use a regex to validate the binding syntax (which could get quite complex: Think of Complex Binding and Expression Binding). The simplest implementation would just additionally allow xsd:string everywhere.
You are most welcome to contribute on this.
Closing this for now since it is mentioned in known limitations and I won't have time to fix this anytime soon.