W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2012

XML tests

From: stuart shepherd <jonny.wark@googlemail.com>
Date: Tue, 28 Aug 2012 09:44:59 +0100
Message-ID: <CAC4AywcDMEX7=WuKh+Renb3RzaM6VyyArM34f+B7F5XphKS2Ag@mail.gmail.com>
To: xmlschema-dev@w3.org
I have a schema which validates my XML files very well, but I've recently
added a new optional element to a previous defined element, and I would
like to know if there is a way to test that if an element is present then
only certain other elements can be present.


old element, can have elements 1,2 and 3


new element, if new element is present we can only have element 1.


Received on Tuesday, 28 August 2012 09:48:21 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:20 UTC