Re: Element content type and optional attributes

David Vázquez Guerrero <d_vazquez_g@yahoo.com> writes:

> I also used XSV to validate the schema and it
> contained no errors. I wonder if there is a similar
> tool to validate XML documents against their
> corresponding schema.

If your instance and schema are available on the web, just give _both_ 
URLs to XSV in the 'Address(es):' box.

There is a slight error in your schema:  the nested <complexType>
needs a 'derivedBy="extension"'.  XSV validates your instance with
your schema both with and without the 'value' attribute.

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, 3 August 2000 11:38:11 UTC