Is there a way to make use of validation within DOM attributes?
I am wanting to add validation to DOM elements within blueprint xml, which is similiar to Spring's bean definitions, an example looks like this:
<bean id="foo" >
<property name="simpleProperty" value="Hello World" />
Were the property name should have the relevant setter available, for instance setSimpleProperty(). If the bean does not have the required setter then it should indicate with red text or a message saying that the property doesn't exist for dependecy injection.
Is there a preferred way to do this? :)