Posted by bmargulies
on January 11, 2008 at 5:40 AM PST
I have a WSDL that embeds a set of valid, inter-connected, schemas. They have elements that interconnect them.
I DOM elements for these schemas and feed them into SchemaFactory to create a validator. It rejects them, claiming that there is a missing import.
Tracing through the code, it looks like a bug, in which it is not correctly resolving the intra-schema references (import elements with just a namespace, and no other attributes). In particular, there seems no way to use the resolver to indicate that there's already an element that describes the schema -- only a way to hand back bytes. We could circulate that way indefinitely.