- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 12 Nov 2002 21:35:46 +0000
- To: "Stanley Guan" <stanley.guan@oracle.com>
- Cc: <xmlschema-dev@w3.org>
"Stanley Guan" <stanley.guan@oracle.com> writes: > In the following test scenario, I use tlsx131.xsd as both instance document > and schema document. It looks like XSV is happy about it. In this case, > does XSV use schema of schema's to validate the instance document and > ignore the provided schema document? > > F:\Xsv>xsv tlsx131.xsd tlsx131.xsd Long answer: So what happens is first XSV looks at the 2nd through nth files on the command line, assumes they are schema docs, checks them against the sForS and constructs components from them. Then it tries to schema-validate the 1st file, using whatever schema components it's got. In this case, that just means tlsx131.xsd will get validated twice. Short answer: It's not a bug to provide schema docs for namespaces which aren't used in valdating the instance at hand. 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]
Received on Tuesday, 12 November 2002 16:35:53 UTC