|
Re: XSDResourceImpl [message #75965 is a reply to message #75925] |
Fri, 10 October 2008 11:18 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
Gitanjali,
Comments below.
Gitanjali Punj wrote:
> Hi,
> In the class XSDResourceImpl there is a method caled
> findSchemas
Typically the schema would be the root element, but in a WSDL document,
there are embedded schemas. This method searches the DOM tree for
<schema> elements from the schema namespace.
> and handleSchemaElement.
That method is called for each <schema> element. An XSDSchema is
created and the <schema> element is associated with that XSDSchema
instance so that the correspond EMF XSD model can be created to
correspond to the structure specified in the DOM.
> Can you please explain the use/functionality of these methods.
> Also in the method handleSchemaElement there is a method parameter
> called boolean 'isMeta',what does it signify?
In XSDSchemaImpl the framework needs to manage the special XML Schema
for Schemas, which is the meta schema for all instance schemas. This
schema defines all the built-in simple type definitions and those are
needed by all other non-meta schemas.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: XSDResourceImpl [message #603361 is a reply to message #75925] |
Fri, 10 October 2008 11:18 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
Gitanjali,
Comments below.
Gitanjali Punj wrote:
> Hi,
> In the class XSDResourceImpl there is a method caled
> findSchemas
Typically the schema would be the root element, but in a WSDL document,
there are embedded schemas. This method searches the DOM tree for
<schema> elements from the schema namespace.
> and handleSchemaElement.
That method is called for each <schema> element. An XSDSchema is
created and the <schema> element is associated with that XSDSchema
instance so that the correspond EMF XSD model can be created to
correspond to the structure specified in the DOM.
> Can you please explain the use/functionality of these methods.
> Also in the method handleSchemaElement there is a method parameter
> called boolean 'isMeta',what does it signify?
In XSDSchemaImpl the framework needs to manage the special XML Schema
for Schemas, which is the meta schema for all instance schemas. This
schema defines all the built-in simple type definitions and those are
needed by all other non-meta schemas.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.07963 seconds