- From: Dan Connolly <connolly@w3.org>
- Date: Fri, 28 Jul 2000 02:11:10 -0500
- To: xmlschema-dev@w3.org
I'm baffled... I developed a schema for RDF: http://www.w3.org/2000/07/rdf.xsd and some schemas for stuff built on RDF: http://www.w3.org/2000/07/rdfs.xsd http://www.w3.org/2000/04shoe-swell/inference.xsd http://www.w3.org/2000/07/hs78/lists.xsd Each of them checks out just fine per XSV. But when I try to use them all together, I get *very* confusing results. For example, trying to validate http://slow1.w3.org/2000/04shoe-swell/inference.rdf against all three of them, using this query http://www.w3.org/2000/06/webdata/xsv?docAddrs=http%3A%2F%2Fslow1.w3.org%2F2000%2F04shoe-swell%2Finference.rdf+http%3A%2F%2Fwww.w3.org%2F2000%2F04shoe-swell%2Finference.xsd+http%3A%2F%2Fwww.w3.org%2F2000%2F07%2Frdfs.xsd++http%3A%2F%2Fwww.w3.org%2F2000%2F07%2Fhs78%2Flists.xsd&keepGoing=on&style=offline shows that it sees all the schemadocs from the form input fields: [[[ Schema validating with XSV 1.156/1.65 of 2000/07/12 09:31:58 Target: http://slow1.w3.org/2000/04shoe-swell/inference.rdf (Real name: http://slow1.w3.org/2000/04shoe-swell/inference.rdf Length: 15707 bytes Last Modified: Fri, 28 Jul 2000 07:07:08 GMT Server: Apache/1.3.6 (Unix) PHP/3.0.15) docElt: {http://www.w3.org/1999/02/22-rdf-syntax-ns#}RDF Validation was strict, starting with type [Anonymous] schemaLocs: schemaDocs: http://www.w3.org/2000/04shoe-swell/inference.xsd http://www.w3.org/2000/07/rdfs.xsd http://www.w3.org/2000/07/hs78/lists.xsd The schema(s) used for schema-validation had no errors instanceAssessed: true 28 schema-validity problems were found in the target ]]] but it doesn't seem to learn anything from lists.xsd; it doesn't mention it here: [[[ Low-level XML well-formedness and/or validity processing output Warning: Document has no DTD, validating abandoned (detected at end of prolog of document http://www.w3.org/2000/04shoe-swell/inference.xsd) Warning: Document has no DTD, validating abandoned (detected at end of prolog of document http://www.w3.org/2000/07/rdf.xsd) Warning: Document has no DTD, validating abandoned (detected at end of prolog of document http://www.w3.org/2000/07/rdfs.xsd) ]]] and it complains below about: [[[ http://slow1.w3.org/2000/04shoe-swell/inference.rdf:191:7: Invalid per src-resolve: undeclared element {http://www.w3.org/2000/07/hs78/lists#}:List ]]] In another case, http://www.w3.org/2000/06/webdata/xsv?docAddrs=http%3A%2F%2Fwww.w3.org%2F2000%2F07%2Fhs78%2Flists.rdf+http%3A%2F%2Fwww.w3.org%2F2000%2F07%2Fhs78%2Flists.xsd+http%3A%2F%2Fwww.w3.org%2F2000%2F07%2Frdfs.xsd&keepGoing=on&style=offline I get: "http://www.w3.org/2000/07/hs78/lists.rdf:621:31: Invalid per src-resolve: undeclared element {http://www.w3.org/1999/02/22-rdf-syntax-ns#}:Description" Any idea what's going on? -- Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Friday, 28 July 2000 03:16:27 UTC