[Mono-list] Issues in XmlSchema.XmlSchemaElement
David Sheldon
dave-monolist@earth.li
Tue, 6 Jan 2004 22:36:58 +0000
On Tue, Jan 06, 2004 at 03:59:37PM -0600, Tom Cabanski wrote:
> In general, it would appear the Mono compile is doing some extra
> checks that, although logical, may not be in line with the W3C
> standards; they are certainly not in line with the Microsoft and
> Xerces implementations. One that represents the issue takes place in
> XmlSchemaElement.ValidateUniqueParticleAttribution. This routine
> fails on the CIP4 JDF schema with the error "Ambiguous element label
> which is contained by -any- particle was detected".
Hi,
I have been looking at the XML Schema code recently, though I am mainly
looking at facet validation at the moment. I am interested in helping
you find problems with our implementation.
Are these the files available at http://www.cip4.org/open_source/intro.php?
If so I can't see anything wrong with them at a quick glance as both the
anys are in the ##other namespace, so shouldn't be ambiguous.
Unfortunately I have not had time for a good look at them, and need to
go to bed.
In the mean-time, have you run IBM's Schema Quality Checker against
them? I find it is a good way of finding things that are against the
spec, even though processors don't detect them. It is available at
http://www.alphaworks.ibm.com/tech/xmlsqc
It tends to take a long time on any complicated schema, so don't give up
unless you have given it a few hours.
Let me know if I can help.
David
--
Computing is like sex because...
When you do it professionally it's not as much fun.