Hi Roger,
Before publishing new versions of the TAPIR schema I always use the official w3c validation service:
http://www.w3.org/2001/03/webdata/xsv
Since it's not detecting any problems with the current schema, one of the two validators has a problem.
There's only one xsd:all element that I recently introduced in the schema to allow TAPIR environment variables to be declared in any order in capabilities responses. This xsd:all is part of an xsd:group particle with minOccurs=maxOccurs=1, but this particle is not "part of a pair of a complex type definition".
We could probably replace "all" by a "sequence" to avoid this problem and force a specific order, although this will probably affect one or more data provider implementations. Or maybe just leave things as they are if we can confirm that the Oxygen validator is wrong.
I'll appreciate any thoughts or suggestions...
Best Regards, -- Renato
On 27 Jul 2007 at 11:12, Roger Hyam wrote:
Hi All,
I have just noticed that the schema at:
http://rs.tdwg.org/tapir/1.0/schema/tapir.xsd
isn't valid according to Oxygen 8.0.
E cos-all-limited.1.2: An 'all' model group must appear in a particle with '{'min occurs'}' = '{'max occurs'}' = 1, and that particle must be part of a pair which constitutes the '{'content type'}' of a complex type definition.
Am I missing something - I appreciate that there are a stack of emails I need to work back through.
All the best,
Roger