Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Re: XSV to validate schema instance [Thread Next] Re: XSV to validate schema instanceTo: "Priscilla Walmsley" <priscilla@--------.--->, "'David Walker'" <David.W.Walker@--.-------.--.--> Date: 5/26/2004 2:57:00 PM Priscilla Thanks - that was the problem. I am very grateful, and embarrassed that the error was so obvious! There were a few other errors with the schema which I have now fixed and the XML document now validates OK. Regards David ----- Original Message ----- From: "Priscilla Walmsley" <priscilla@w...> To: "'David Walker'" <David.W.Walker@c...> Cc: <xmlschema-dev@w...> Sent: Wednesday, May 26, 2004 12:39 PM Subject: RE: XSV to validate schema instance > David, > > The root element in your instance is MyConference (singular) and the element > declaration in your schema says MyConferences (plural). > > Hope that helps, > Priscilla > > ----------------------------------------------------- > Priscilla Walmsley priscilla@w... > Author, Definitive XML Schema (Prentice Hall PTR) > ----------------------------------------------------- > > > -----Original Message----- > > From: xmlschema-dev-request@w... > > [mailto:xmlschema-dev-request@w...] On Behalf Of David Walker > > Sent: Wednesday, May 26, 2004 6:37 AM > > To: David Walker; Henry S. Thompson > > Cc: xmlschema-dev@w... > > Subject: Re: XSV to validate schema instance > > > > Thanks for your help. The xml, xsd, and output from xsv are attached. > > > > Regards > > David > > > > ----- Original Message ----- > > From: "Henry S. Thompson" <ht@i...> > > To: "David Walker" <David.W.Walker@c...> > > Cc: <xmlschema-dev@w...> > > Sent: Wednesday, May 26, 2004 9:22 AM > > Subject: Re: XSV to validate schema instance > > > > > > > "David Walker" <David.W.Walker@c...> writes: > > > > > > > Thanks for your reply. I don't think an incorrect > > targetNamespace is the > > > > problem. The XML file starts with: > > > > > > > > <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?> > > > > <MyConference > > > > xmlns="http://www.cs.cf.ac.uk/user/David.W.Walker/MyConferences"> > > > > > > > > and the Schema starts with: > > > > > > > > <xs:schema > > > > > > targetNamespace="http://www.cs.cf.ac.uk/user/David.W.Walker/My > > Conferences" > > > > elementFormDefault="qualified" attributeFormDefault="unqualified" > > > > > > xmlns:mc="http://www.cs.cf.ac.uk/user/David.W.Walker/MyConferences" > > > > xmlns:xs="http://www.w3.org/2001/XMLSchema"> > > > > > > I love these guessing games :-). Why don't you post the offending > > > documents and the XSV output? > > > > > > ht > > > -- > > > Henry S. Thompson, HCRC Language Technology Group, University of > > Edinburgh > > > Half-time member of W3C Team > > > 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) > > 131 650-4440 > > > Fax: (44) 131 650-4587, e-mail: ht@i... > > > URL: http://www.ltg.ed.ac.uk/~ht/ > > > [mail really from me _always_ has this .sig -- mail without > > it is forged > > spam] > > > > > > > From nwh@a... Fri May 28 06:13:36 2004 Return-Path: <nwh@a...> X-Original-To: xmlschema-dev@l... Delive | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
