I assume you’re talking about “document composition”?
I had this same problem and opened a ticket on it on the support site. I was told, that this (queries on data in both schemas) did not work, was not meant to work, and there was no plan to make it work. To quote the reply passed on to me from Germany (my sample used the example jazzMusian schemas from the documentation):
"We were able to reproduce the scenario with the sample data: the filter in the first query crosses the border from the referencing jazzMusician node to the referenced jazzMusician document. This is not allowed in joining documents and not planned as a feature due to processor restrictions.
“Usually, this feature is sufficient as the results can be processed further by applications, e.g. to just displaying the collaboration node rather than the whole joined document.”
I find this very unfortunate. Document composition that merely saves me the trouble of assembling documents in application code isn’t all that useful. Joining them in code is easy. However searches (and therefor indexing) that operates transparently across document references would be an EXTREMELY powerful and useful feature.
I hope enough users demand this to get SoftwareAG to reconsider.
#Tamino#webMethods#API-Management