Hi all,

I would like to ask the following two questions:

1) Is there any way to find out the already loaded
schemaTypes/documents/schemaGlobalElements etc.?
I want to make a list with the already load SchemaTypes without any prior
knowledge
of the available compiled schemas.
I tried to use (obviously with a wrong way) the static method
XmlBeans.compileXsd(null, XmlBeans.getContextTypeLoader(), xmlOptions)
hopping that the returned instance of SchemaTypeSystem would have taken
into the
consideration the already loaded classes by the ContextTypeLoader
(the corresponding jars with the compiled schemas have already been loaded
before invoking
the method above)

2) This question is related to the previous one since I want to find the
substitution
groups. I suppose that the information about the substitution groups could
be retrieved
from the SchemaGlobalElement via the substitutionGroup() method, and the
SchemaGlobalElement
could be retrieved from the SchemaTypeSystem. Is the right way? Is there
any different way?
How could I retrieve the current SchemaTypeSystem?

I really appreciate any help,

kind regards,

John Ps.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to