- From: David E. Cleary <davec@progress.com>
- Date: Wed, 19 Sep 2001 12:21:29 -0400
- To: "Ian Stuart" <Ian.Stuart@ed.ac.uk>, "XML-Schema-dev" <xmlschema-dev@w3.org>
The schema itself is invalid due to this improper namespace declaration: xmlns:dc="http://purl.org/dc/elements/1.1/ http://www.openarchives.org/OAI/dc.xsd" /> Not a valid URI. Dave > -----Original Message----- > From: xmlschema-dev-request@w3.org > [mailto:xmlschema-dev-request@w3.org]On Behalf Of Ian Stuart > Sent: Wednesday, September 19, 2001 12:04 PM > To: XML-Schema-dev > Subject: Trying to prove a schema works, by breaking it.. > > > Afternoon folks, > > I have written a schema > (http://eildon.ucs.ed.ac.uk:1964/Zblsa/zblsa.xsd) to define data (of > which http://eildon.ucs.ed.ac.uk:1964/zblsa.return.4.xml is an example) > > This setup passes the W3C validator (version 20010502, at > http://www.w3.org/2001/03/webdata/xsv), however I want to extend my > [shakey] grasp of schemas by the method of test-by-breaking - whereby I > include extra elements, or incorrectly composed elements, and confirm > the results are what I predict. > > My problem is that I can add a new element (not defined in the schema), > or miss out a required element - and it still passes. > > Can anyone explain why adding an undefined element does not break my > schema? or why missing a required chunk of data passes the validator > test? > > Many thanks > -- > > --==++ > Ian (slightly confused) Stuart > I build things: computer programs (with code); or cars (with metal) > >
Received on Wednesday, 19 September 2001 12:21:43 UTC