]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
Adding an errorflag attribute to fields. This provides automatic error state checking...
authorAndreas Neiser <neiser@kph.uni-mainz.de>
Sat, 29 Jun 2013 11:19:23 +0000 (13:19 +0200)
committerAndreas Neiser <neiser@kph.uni-mainz.de>
Sat, 29 Jun 2013 11:19:23 +0000 (13:19 +0200)
xml-db/database/TrbNetEntity.xsd

index a23d35d226dc457c31ea3c1a650ce2189613886d..92f8ca56606033548a79172067ef0ddf32c3fde1 100644 (file)
@@ -25,7 +25,9 @@
   <xs:simpleType name="modetype">
     <xs:restriction base="xs:string">
       <xs:pattern value="r|w|rw|b"/>
-      <!-- (r)ead and /or (w)rite, plus maybe (b)lock, if a no-more-data from this registers transports some vital information-->
+      <!-- (r)ead and /or (w)rite, plus maybe (b)lock, if a
+           no-more-data from this registers transports some vital
+           information -->
     </xs:restriction>
   </xs:simpleType> 
 
@@ -69,7 +71,6 @@
     </xs:restriction>
   </xs:simpleType> 
 
-
   <!--==============================
       Attribute Definition
       ==============================-->
@@ -86,6 +87,7 @@
   <xs:attribute name="format"       type="formattype" />
   <xs:attribute name="continuous"   type="xs:boolean" />
   <xs:attribute name="repeat"       type="xs:positiveInteger" default="1" />
+  <xs:attribute name="errorflag"    type="xs:boolean" default="false" />
 
 
   <!--==============================
       <xs:attribute ref="defaultValue" />
       <xs:attribute ref="format" />
       <xs:attribute ref="repeat" />
+      <!-- if PERL evaluates this field to false,
+           an error is indicated by this field -->
+      <xs:attribute ref="errorflag" />
     </xs:complexType>
   </xs:element>