Invalid Model Path [message #710444] |
Thu, 04 August 2011 22:44  |
Eclipse User |
|
|
|
Hello,
I have an xml model like this,
<person id="101">
<name/>
<address/>
</person>
I am trying to model the same, my Person Model class looks like the one below,
public class Person implements IModelElement{
/*
* id
*/
@Label( standard = "Id" )
@NoDuplicates
@XmlBinding( path = "@id" )
@Whitespace( trim = true )
ValueProperty PROP_ID = new ValueProperty( TYPE, "Id" );
Value<String> getId();
void setId( String id );
.....
}
When I run my application i see the following statements in the log as
ERROR : Invalid model path "#/Id" evaluated on com.x.model.IPerson.
Can any one let me know how to rectify this error, or i have missed something.
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.34057 seconds