Here's
what I think:
Have
you seen the comment on
SchemaTypeSystemCompiler.compile(String name, SchemaTypeSystem
existingSTS,
XmlObject[] input, BindingConfig config, SchemaTypeLoader linkTo, Filer filer, XmlOptions options),? :-) (* Please do not invoke this method directly ... ) The
"public" APIs that we have offer Schema compilation, Java source
generation, Schema persistence, but not Schema copying (you would have to use
scomp or the ant task). Of course, I can't stop anyone from using other public
methods in the impl packages, but if I were to add Schema copying as a "public"
(official, supported) API, I would have to give it a little thought on how
to expose it, I am not sure that using the information from XmlObject would be
the way to do it.
Isn't
saving the XMLObjects to a directory of your choice a cleaner approach
anyway?
Thanks,
Radu
|
Title: Message
- XMLBeans do not save schema when fed through a Node Eran Chinthaka
- RE: XMLBeans do not save schema when fed through... Radu Preotiuc-Pietro