Hi,
 
  XMLSpy is a very nice schema editor, but I would not trust it completely as its validation is too liberal. My experience is that in most cases when Xerces-C validates it is valid with other tools as well. Xerces-C is not 100% yet but at least you can check what's already working. I am not sure you can guess what's wrong in XML Spy. 
 
Cheers
           Radovan
-----Original Message-----
From: Peter A. Volchek [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 30 May 2002 17:17
To: Xerces-Dev
Subject: group-all

Hi,
when validating the attached file I got the following error.
 
DOMPrint.exe -v=always -n -s -f sample.xml
Error at file "sample.xsd", line 11, column 29
   Message: A group whose content is 'all' must only appear as the content type of a complex type definition.
 
XMLSpy (for example) validates it w/o errors.
 
The question is: Whom to trust ?
 
P.S.
When changing the compositor type of the group to be a sequence, the Xerces parses it ok.
 
 
 
 

Reply via email to