Author: scabanovich
Date: 2008-10-07 11:55:01 -0400 (Tue, 07 Oct 2008)
New Revision: 10714
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl/XAttributeImpl.java
Log:
JBIDE-2855
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl/XAttributeImpl.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl/XAttributeImpl.java 2008-10-07
15:41:19 UTC (rev 10713)
+++
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl/XAttributeImpl.java 2008-10-07
15:55:01 UTC (rev 10714)
@@ -165,6 +165,9 @@
if(!XMetaDataLoader.hasAttribute(element, LOADER) || loader.trim().length() == 0)
{
loader = "";
}
+ if(loader != null && loader.startsWith("%")) {
+ loader = expand(loader, "AttributeConstraints");
+ }
constraint.init(loader, element);
}
Show replies by date