Parcourir la source

修改打印Schema

Kevin il y a 4 ans
Parent
commit
af4a0f7665
1 fichiers modifiés avec 14 ajouts et 10 suppressions
  1. 14 10
      printer-schema.xsd

+ 14 - 10
printer-schema.xsd

@@ -279,20 +279,24 @@
               </xs:documentation>
           </xs:annotation>
           <xs:complexType>
-            <xs:attribute name="attch" type="xs:string">
-              <xs:annotation>
-                <xs:documentation>
+            <xs:simpleContent>
+              <xs:extension base="xs:string">
+                <xs:attribute name="attch" type="xs:string">
+                  <xs:annotation>
+                    <xs:documentation>
                     表示依附到某个的路径上
                   </xs:documentation>
-              </xs:annotation>
-            </xs:attribute>
-            <xs:attribute name="propertyName" type="xs:string">
-              <xs:annotation>
-                <xs:documentation>
+                  </xs:annotation>
+                </xs:attribute>
+                <xs:attribute name="propertyName" type="xs:string">
+                  <xs:annotation>
+                    <xs:documentation>
                     计算属性名
                   </xs:documentation>
-              </xs:annotation>
-            </xs:attribute>
+                  </xs:annotation>
+                </xs:attribute>
+              </xs:extension>
+            </xs:simpleContent>
           </xs:complexType>
         </xs:element>
         <xs:group ref="control" minOccurs="0" maxOccurs="unbounded"></xs:group>