- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 05 Dec 2000 15:20:40 +0000
- To: stinney@sas.upenn.edu
- Cc: xmlschema-dev@w3.org
stinney@sas.upenn.edu writes: > I submitted the attached .xsd to the online XSV via the upload interface > and got the following back. I have no idea how valid the .xsd is; I > just generated it with a modified version of dtd2xsd.pl. XSV seems to > be concerned about the namespace, though, which I pasted from the XSV > interface page... > > Steve > > XSV output: > > <?xml version='1.0'?> > <?xml-stylesheet type='text/xsl' href='../style/xsv.xsl'?> > <xsv docElt='{http://www.w3.org/2000/10/XMLSchema}schema' > instanceAssessed='true' instanceErrors='0' nsURIDeref='success' > realName='CBD.xsd' schemaErrors='0' schemaLocs='' > target='file:/export/home/ht/xsvlog/@9364.5uploaded' validation='lax' > version='XSV 1.173.2.6/1.82 of 2000/10/31 16:30:47' > xmlns='http://www.w3.org/2000/05/xsv'> > <importAttempt URI='http://www.w3.org/2000/10/XMLSchema' > namespace='http://www.w3.org/2000/10/XMLSchema' outcome='failure'/> > <notASchema filename='http://www.w3.org/2000/10/XMLSchema'/> > <XMLMessages> > Error: can't retrieve "http://www.w3.org/2000/10/XMLSchema": 300 > Multiple Choices > </XMLMessages> Sometimes the W3C server screws up -- this isn't a namespace problem as such, just a failure to retrieve the schema for schemas -- try again (but first fix the most obvious error throughout your schema: you don't define names in other namespaces by <element name='psd:...' ...>...</element> For documents with multiple namespaces, you must combine multiple schema documents, one for each namespace. See the relevant section of the XML Schema Primer [1]. ht [1] http://www.w3.org/TR/xmlschema-0/#import -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh W3C Fellow 1999--2001, 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/
Received on Tuesday, 5 December 2000 10:20:48 UTC