W3C home > Mailing lists > Public > www-forms@w3.org > March 2003

[bug] RE: schema appears to be invalid

From: Kevin Ross <kross@integra-online.com>
Date: Fri, 14 Mar 2003 09:23:51 -0600
To: <www-forms@w3.org>
Cc: "'Bob Foster'" <bob@objfac.com>
Message-ID: <00e101c2ea3d$baf26e70$74caa8c0@ISS>
W3 group members, 
 
Wouldn't it be prudent to validate a schema before publishing it as a
candidate recommendation?  Sorry for the criticism, maybe there were
circumstances in which it was valid at the time of publishing.
Shouldn't there be an update to the spec page with a valid schema?
 
Bob, thanks for your reply, I'm far from a schema guru.  I attempted
what you said with no success.  Since I'm clueless past basic
understanding of schemas, would you spell the fix out for me?
 
Kevin
 
-----Original Message-----
From: www-forms-request@w3.org [mailto:www-forms-request@w3.org] On
Behalf Of Bob Foster
Sent: Thursday, March 13, 2003 6:12 PM
To: Kevin Ross; www-forms@w3.org
Subject: Re: schema appears to be invalid?
 
Looks like it's missing an enclosing xsd:simpleType.
 
Bob
----- Original Message ----- 
From: Kevin <mailto:kross@integra-online.com>  Ross 
To: www-forms@w3.org 
Sent: Thursday, March 13, 2003 10:35 AM
Subject: schema appears to be invalid?
 
I am attempting to use the schema for xforms, but it appears to be
invalid.  Is this a bug?  Am I missing something?  I am using xml spy.
 
Unexpected child element: 'xsd:union'
 
 
<xsd:attribute name="includenamespaceprefixes" use="optional">
    <xsd:simpleType>
        <xsd:list>
            <xsd:union>
                <xsd:simpleType>
                    <xsd:restriction base="xsd:NCNAME"/>
                </xsd:simpleType>
                <xsd:simpleType>
                    <xsd:restriction base="xsd:string">
                        <xsd:enumeration value="#default"/>
                    </xsd:restriction>
                </xsd:simpleType>
            </xsd:union>
        </xsd:list>
    </xsd:simpleType>
</xsd:attribute>
 
 
Kevin Ross
Received on Friday, 14 March 2003 10:25:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:54 GMT