Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » BaseType of a underived ComplexType
BaseType of a underived ComplexType [message #587723] Thu, 27 May 2004 00:24
Eclipse UserFriend
Originally posted by:


I am trying to visit a schema as a tree. During the visit, the
following procedure is called to visit complex type definition.

visit(XSDComplexTypeDefinition type) {

However, the same method is called recursively again with the same
argument. In short, type.getBaseTypeDefinition() returned the object
referred to by variable type. Is this the intended behavior? Or a bug
in XSD? Or am I missing something?

According to XSD specs, it should return the extension/restriction
parent of the object bound to type and, if none exists, it should be
anyType (as it is the root of the Type Hierarchy). Is this so? Or am I
misreading the specs?

waiting for reply,


Venkatesh Prasad Ranganath,
Dept. Computing and Information Science,
Kansas State University, US.
Previous Topic:Resource notifications
Next Topic:Schema has not been resolved
Goto Forum:

Current Time: Thu Oct 29 02:39:58 GMT 2020

Powered by FUDForum. Page generated in 0.01183 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top