I changed AbstractParsingDeployer to have an abstract parse(DeploymentUnit unit,
VirtualFile file, T root) (not checked in yet). This introduces the same override in the
ObjectModelFactoryDeployer, JAXPDeployer and SchemaResolverDeployer. This only makes sense
in the ObjectModelFactoryDeployer in terms of having direct support for using the root.
The jbossxb methods taking a SchemaResolver used by SchemaResolverDeployer do not take an
existing root(although I don't know why they could not).
The JAXPDeployer would have to be expanded to include a parse(DeploymentUnit unit,
VirtualFile file, Document document, T root) to effectively propagate the root.
Do these changes sound ok?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975973#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...