- From: Mark Feblowitz <mfeblowitz@frictionless.com>
- Date: Mon, 7 Oct 2002 12:52:16 -0400
- To: "'ht@cogsci.ed.ac.uk'" <ht@cogsci.ed.ac.uk>, Ted Toth <ted.toth@vincera.com>
- Cc: xmlschema-dev@w3.org
If that's the case, then the XML Spy folks need to be contacted, too. While Spy does validate the schema in "Schema View" mode, in text view mode it gives the following error: Schema error - undefined schema component "base" encountered - simpleContent can not have a base that is a complexType with complexContent. If I change ID to have a base of xsd:string, the following error is reported: Schema error - undefined schema component "base" encountered - you must use a complexType instead of "xsd:string" because a simpleContent/restriction can't be based on a simpleType. Is the problem that this particular combination of extension and restriction is not allowed? -----Original Message----- From: ht@cogsci.ed.ac.uk [mailto:ht@cogsci.ed.ac.uk] Sent: Monday, October 07, 2002 12:31 PM To: Ted Toth Cc: xmlschema-dev@w3.org Subject: Re: A complex type cannot be a restriction of a simpleType ?? The schema looks OK at a quick read-through, and if SQC likes it that's a pretty good sign. Sounds like you need to hit the Castor people with a bug report. ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh W3C Fellow 1999--2002, part-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me _always_ has this .sig -- mail without it is forged spam] Confidentiality Notice: This message, including any attachments, is intended solely for the use of the individual to whom it is addressed and may contain information that is privileged and confidential. If you have received this email in error, please delete it. Any disclosure, copying or distribution of this message is strictly prohibited. Thank you.
Received on Monday, 7 October 2002 12:52:47 UTC