This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
It seems that the XML schema for validating test suite result submissions contains an error. When validating Zorba's submission (using XQTS_current.zip as of June 9th), I get the following error from xmllint: XQTSResult.xsd:11: element complexType: Schemas parser error : complex type 'commentType': The content model is not determinist.
Interesting. I receive no errors for this schema using ant's xmlvalidate. I've modified the definition of commentType to be the following: <xsd:complexType name="commentType"> <xsd:sequence minOccurs="1" maxOccurs="unbounded"> <xsd:choice> <xsd:element ref="xqtsr:p" /> <xsd:any namespace="##other" processContents="skip" /> <xsd:any namespace="##local" processContents="skip" /> </xsd:choice> </xsd:sequence> </xsd:complexType> Please close this bug report if you are satisfied with this resolution.
Thanks but with this change I still get the same error (The content model is not determinist.)
I've modified p and commentType as follows: <xsd:element name="p"> <xsd:complexType mixed="true"> <xsd:sequence> <xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="skip" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:complexType name="commentType" mixed="true"> <xsd:sequence minOccurs="0" maxOccurs="unbounded"> <xsd:sequence> <xsd:element ref="xqtsr:p" /> </xsd:sequence> </xsd:sequence> </xsd:complexType> This validates the results that I have previously received. I expect that this will remove the xmllint error that you have been getting. Please close this bug report if you are satisfied with this resolution.
I checked and can confirm that this solution works.