Kevin Flynn wrote: > > The "entity substitution" mechanism in XXE uses xinclude as a means of > including "variables" in documents. > If you use this mechanism then you can end up with a document that > contains multiple IDs because the same "variable" has been included many > times. Therefore XXE includes an option to filter out the spurious > validation errors this causes.
This filter was a little crude in XXE v3 and may be you already had problems with it. It has been much improved in XXE v4. However it is still not 100% perfect. > However, if you include variables from more than one external file and > some of the variables in these files happen to have the same ID, then > these validation errors are not filtered out. Because these are actual duplicate ID errors (well, I suppose). > Is it posssible to do something about this - either extend the current > filter to deal with this case as well or else add a second option for > just this case? > I'm sorry but we cannot do that. Our intend is just to filter false duplicate ID errors due to the use of inclusions, and not to filter actual duplicate ID errors.

