Author: rareddy
Date: 2010-04-01 18:46:50 -0400 (Thu, 01 Apr 2010)
New Revision: 2019
Added:
trunk/client/src/test/java/org/teiid/adminapi/
trunk/client/src/test/java/org/teiid/adminapi/impl/
Removed:
trunk/engine/src/test/java/org/teiid/adminapi/impl/
Modified:
trunk/client/src/main/java/org/teiid/adminapi/impl/ModelMetaData.java
trunk/client/src/main/resources/vdb-deployer.xsd
Log:
TEIID-998: making the severity attribute on the "error" element as
"required"
Modified: trunk/client/src/main/java/org/teiid/adminapi/impl/ModelMetaData.java
===================================================================
--- trunk/client/src/main/java/org/teiid/adminapi/impl/ModelMetaData.java 2010-04-01
19:04:43 UTC (rev 2018)
+++ trunk/client/src/main/java/org/teiid/adminapi/impl/ModelMetaData.java 2010-04-01
22:46:50 UTC (rev 2019)
@@ -205,7 +205,7 @@
@XmlValue
protected String value;
- @XmlAttribute(name = "severity")
+ @XmlAttribute(name = "severity", required = true)
protected String severity;
public ValidationError() {};
Modified: trunk/client/src/main/resources/vdb-deployer.xsd
===================================================================
--- trunk/client/src/main/resources/vdb-deployer.xsd 2010-04-01 19:04:43 UTC (rev 2018)
+++ trunk/client/src/main/resources/vdb-deployer.xsd 2010-04-01 22:46:50 UTC (rev 2019)
@@ -22,7 +22,7 @@
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
- <xs:attribute name="severity">
+ <xs:attribute name="severity" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="ERROR"/>
Copied: trunk/client/src/test/java/org/teiid/adminapi/impl (from rev 2009,
trunk/engine/src/test/java/org/teiid/adminapi/impl)
Show replies by date