While finishing up some schema validation stuff for wpkgExpress, I noticed an error in profiles.xsd:
22 <xsd:complexType name="profile"> .... snip .... 26 <xsd:sequence> 27 <xsd:choice minOccurs="0" maxOccurs="unbounded"> 28 <xsd:element ref="package"> 29 <xsd:annotation> 30 <xsd:documentation>Assigns a package to the profile.</xsd:documentation> 31 </xsd:annotation></xsd:element> 32 </xsd:choice> 33 <xsd:choice minOccurs="0" maxOccurs="unbounded"> 34 <xsd:element ref="depends"> 35 <xsd:annotation> 36 <xsd:documentation>Dependency definition. Allows to refer to another profile which is "included".</xsd:documentation> 37 </xsd:annotation></xsd:element> 38 <xsd:element ref="variable"> 39 <xsd:annotation> 40 <xsd:documentation>Variable definition.</xsd:documentation> 41 </xsd:annotation></xsd:element> 42 </xsd:choice> 43 </xsd:sequence> .... snip .... 50 </xsd:complexType> should be: 22 <xsd:complexType name="profile"> .... snip .... 26 <xsd:sequence> 27 <xsd:choice minOccurs="0" maxOccurs="unbounded"> 28 <xsd:element ref="package"> 29 <xsd:annotation> 30 <xsd:documentation>Assigns a package to the profile.</xsd:documentation> 31 </xsd:annotation></xsd:element> 32 <xsd:element ref="depends"> 33 <xsd:annotation> 34 <xsd:documentation>Dependency definition. Allows to refer to another profile which is "included".</xsd:documentation> 35 </xsd:annotation></xsd:element> 36 <xsd:element ref="variable"> 37 <xsd:annotation> 38 <xsd:documentation>Variable definition.</xsd:documentation> 39 </xsd:annotation></xsd:element> 40 </xsd:choice> 41 </xsd:sequence> .... snip .... 48 </xsd:complexType> Without the change, a validation error will always occur. - Brian
------------------------------------------------------------------------- wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ _______________________________________________ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users