I want to make some changes to the unmarshaller interface.
1) There should be methods based on InputSource.
This actually makes most of the other methods redundant.
This is needed because I want to attach a system id
for error reporting. I can't use the real url because in some
cases (e.g. jars that get unpacked) this will be meaningless to users.
2) Need to be able pass in a root object for the schema parsing.
Like you can with the ObjectModelFactory methods.
This is needed so you can augment/merge the model when it
comes from mutliple files/schemas, e.g. ejb-jar.xml and jboss.xml
That's fine. To achieve the goal of 2), though, you would need to provide custom element/character handlers to merge the models.