Explorar o código

修改打印Schema

Kevin %!s(int64=4) %!d(string=hai) anos
pai
achega
af4a0f7665
Modificáronse 1 ficheiros con 14 adicións e 10 borrados
  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>