Hi,
Xerces makes no guarantees about the validity of a schema. Some checking is performed (quite a lot, actually), but all that Xerces guarantees is to validate a document against a valid schema. To validate schemas take a look at a tool like sqc
http://www.alphaworks.ibm.com/tech/xmlsqc?open&l=xml- dev,t=grx,p=shecheck
Although I don't recall what version they are up to now.
The reason you cannot use the schema for schemas to validate a schema with a schema validator (lol) is because there are special exceptions made for the schema for schema that are not permitted in normal schemas (For example, base types are created).
Hope this helps,
Gareth
On 11 Mar 2005, at 9:03, [EMAIL PROTECTED] wrote:
Hello users,
sorry maybe that's an off-topic, yet I would ask about validating XML Schema files:
at the moment a schema file can only be validated against the dtd file for XML Schema created by w3c?
If yes, why cannot it validated against the schema counterpart of that dtd file? I know that there exists already also a schema file for XML Schema files....
So in other words a schema file can only be dtd-validated and not schema-validated?
Thx!
Kind regards,
Csaba Szucs
-- Gareth Reakes, Managing Director Parthenon Computing +44-1865-811184 http://www.parthcomp.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]