IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Validating of the schema of schemas Options · View
greenstone90
Posted: Friday, October 10, 2008 12:49:34 AM
Rank: Newbie

Joined: 10/10/2008
Posts: 5
Location: alexandria
Hi,

In my application, I generate xsd's in code for end-user use. I would like to validate the generated xsds (that they are valid xsds).

I thought I would be able to use w3c's "schema of schemas" to validate my xsds.

So I took the schema at: http://www.w3.org/2001/XMLSchema.xsd and put it in XMLSpy. But it fails to validate. Shouldn't it be valid in itself?

I get an error: "Group xs:defRef is already declared"

Suggestions on how what needs to be done to make the "schema of schemas" validate in XMLSpy?

Thanks!


paul
Posted: Tuesday, October 14, 2008 10:28:35 AM
Rank: Advanced Member

Joined: 9/9/2005
Posts: 483
Location: AT
Hello,

I am afraid that it because our validator has this schema integrated into it, it is not possible to use it directly.

Essentially, the validator already has the type definitions, element & attribute declarations, attribute groups, etc... built-in and therefore reports a name clash for the definitions & declarations in XMLSchema.xsd.
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.