Reference resolved against wrong components.
I have two APIs, Old and New say. In Old there's a reference to a schema S that generates an error in the RefPointer class when it tries to resolve the reference, even though the API defines this schema.. But in API New there is no such schema. When I add some debug code to RefPointer::resolveRef I see that it's trying to resolve the reference in Old with the schemas from New, which explains why it can't resolve it. So are there two separate environments, one for each API, and somewhere it's just using the wrong one? Before I start tracking down the problem further I just wanted to check how this is supposed to work.
Thanks
Kevin
It looks like the method Schema resolve(Schema schema) in HtmlRender is being called with a schema from the old API but it then tries to resolve it using the components from the new API. So should this method never be called with a schema from the old API? Or should the method pick the correct components for the schema, rather than being hardwired to just use the new API components?