W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2001

Bugs in the current test suite

From: Kohsuke KAWAGUCHI <kohsuke.kawaguchi@sun.com>
Date: Fri, 14 Sep 2001 19:17:36 -0700
To: www-xml-schema-comments@w3.org
Message-Id: <20010914191231.2707.KOHSUKE.KAWAGUCHI@sun.com>

I found the following problems in the current test suite.


attKa001.xsd
============
> <xsd:complexType name="attRef">
>    <xsd:attribute name="ca1"/>
>    <xsd:attribute name="ca2"/>
>    <xsd:attributeGroup ref="x:attG"/>
*    <xsd:attribute ref="ga2"/>
> </xsd:complexType>

 a bug in the test case. This should be:

    <xsd:attribute ref="x:ga2"/>


attKa012.xsd
============
> <xsd:complexType name="attRef">
>    <xsd:attribute name="ca1"/>
>    <xsd:attribute name="ca2"/>
>    <xsd:attributeGroup ref="x:attG"/>
*    <xsd:attribute ref="x:ga2"/>
> </xsd:complexType>

 The above '*' line should be

     <xsd:attribute ref="x:ga1"/>


attP027.xsd & attP027.xml
=========================

Is this test correct? I guess attP027.xml should be

<x:elem x:foo="38"/>

rather than

<x:elem x:foo1="38"/>


Compared to several other similar tests (for example, attP024,25,26,28
and 29), this one looks strange.



attP030.xsd & attP031.xsd
=========================
looks like they are the same test.

The documentation of attP031.xsd seems to suggest that attP031.xml
should be

<x:elem />



attgC00?.xsd
============
XSV fails to parse them but the reason is "unable to open a file",
which is strange. There are other test cases where XSV fails in the same
reason.


elemF001.xsd
============
Doesn't make much sense unless we try to substitute this element.

stA003.xsd
==========
A file "stA003b.xsd" is missing.



regards,
--
Kohsuke KAWAGUCHI                          +1 650 786 0721
Sun Microsystems                   kohsuke.kawaguchi@sun.com
Received on Friday, 14 September 2001 22:17:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:51 GMT