- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 15 Jun 2000 10:23:21 +0100
- To: Dan Connolly <connolly@w3.org>
- Cc: xmlschema-dev@w3.org
Dan Connolly <connolly@w3.org> writes: > On what basis does XSV decide to try to find a schema > from the namespace name? At the moment the validator invocation process works as follows: First, it loads schema docs supplied on the command line Second, it scans the document for xsi:schemaLocation hints, and loads docs for namespaces which it doesn't already have a schema for Finally if the above has not produced a schema for the namespace of the doc element of the instance, it tries dereferencing that During _schema document_ processing of docs found by the above three routes, it loads <include>d schema docs, and uses a hint if present and otherwise tries dereferencing the namespace URI for <import>s. At the moment, it does not try dereferencing when in the middle of processing and encountering a new unknown namespace. So in your example it's not chasing the mathml namespace. If you supply it on the command line, you get some new, but plausible, errors. I'll look in to catching this, but it's a bit tricky. Note your mathml schema doc is actually strictly speaking bogus, because it has a foreign reference (html:body) with no <import> of the html namespace. XSV doesn't catch this, but of course it should. ht -- 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 Thursday, 15 June 2000 05:23:31 UTC