W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2002

Re: newbie question - attributes

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 13 Sep 2002 09:09:40 +0100
To: "Michael Ryan Bannon" <mrbannon@uwaterloo.ca>
Cc: "Bob Schloss" <rschloss@us.ibm.com>, <xmlschema-dev@w3.org>
Message-ID: <f5bsn0etinv.fsf@cogsci.ed.ac.uk>

"Michael Ryan Bannon" <mrbannon@uwaterloo.ca> writes:

> Hello again,
> 
> Sorry for the late response on this...I was on vacation.
> This is the updated schema I used:
> 
> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>   xmlns:xlink="http://www.w3.org/1999/xlink">
> </xsd:schema>
> 
> 
> This is the instance:
> 
> <?xml version="1.0"?>
> <blah xmlns:test="http://www.swen.uwaterloo.ca/~mrbannon/PROTOTYPE"
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>  xsi:schemaLocation="http://www.swen.uwaterloo.ca/~mrbannon/PROTOTYPE
>        http://www.swen.uwaterloo.ca/~mrbannon/prototype.xsd">
>  <yoyo test:data_item="jklsdfjklsdfjlksdfjkl"/>
> </blah>
> 
> 
> And this was the response.  It didn't seem to make any difference.
> Schema validating with XSV 1.203.2.47.2.4.2.11/1.106.2.25.2.3 of 2002/06/10
> 14:39:33
>   a.. Target: file:/usr/local/XSV/xsvlog/@29232.4uploaded
>      (Real name: J:\Thesis\Model\instance.xml)
>   b.. docElt: {None}blah
>   c.. schemaLocs: http://www.swen.uwaterloo.ca/~mrbannon/PROTOTYPE ->
> http://www.swen.uwaterloo.ca/~mrbannon/prototype.xsd
>   d.. The schema(s) used for schema-validation had no errors
>   e.. instanceAssessed: false
> I'm not sure what to make of this.
> Should I be enforcing a lax validation (if possible)?

I'm confused -- I can't reproduce the above behaviour.  I copied your
instance doc above into a file, used the XSV web form (same version
still) to upload and validate it, and got different results,
i.e. instanceAssessed=true, validation=lax, no errors.

Please try again, be sure to use _exactly_ the above file., and send
the complete output (use the full-text output option).

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 Friday, 13 September 2002 04:09:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:34 GMT