Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #294895 +++ +++ This bug was initially created as a clone of Bug #288494 +++ The recursive method "validateElementList" in the "CMValidator" class is sensitive to the size of its input parameters. To prevent stack overflow problems, this method is only invoked (through the "validate" method in the same class) if the number of child elements of the node to validate is less than 500. The problem with this approach is that in large size documents, where a given node can potentially have more than 500 children, the validation is not performed. As a result, the "add child" context menu item stops working (in the editor design view as well as the editor outline view). Content assist in the source view is also affected.
Created attachment 151984 [details] Ported patch Includes fix and JUnit test
Created attachment 151985 [details] JUnit test binary file This binary file must be added to the "projecttestfiles" folder in the JUnit plug-in.
Fix committed and released 200911112108 UTC.
Closing.