proposed fix for hasPrimitiveValue()
This commit is contained in:
parent
1e940dc489
commit
c4585c995f
|
@ -613,7 +613,8 @@ public class Element extends Base implements NamedItem {
|
|||
|
||||
@Override
|
||||
public boolean hasPrimitiveValue() {
|
||||
return property.isPrimitiveName(name) || property.IsLogicalAndHasPrimitiveValue(name);
|
||||
//return property.isPrimitiveName(name) || property.IsLogicalAndHasPrimitiveValue(name);
|
||||
return super.hasPrimitiveValue();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -267,7 +267,7 @@ public abstract class Base implements Serializable, IBase, IElement {
|
|||
}
|
||||
|
||||
public boolean hasPrimitiveValue() {
|
||||
return isPrimitive();
|
||||
return primitiveValue() != null;
|
||||
}
|
||||
|
||||
public String primitiveValue() {
|
||||
|
|
Loading…
Reference in New Issue