Subject: | Element references that are in type definitions are never completed |
Element references that are in type definitions are never completed. (and maybe more, I don't fully understand the data store yet)
The problem is that first the refs are completed then the types. But types can also contain refs, and these are forgotten because they are inserted after the ref completition run is done.
I attached a test case and a patch against RootNode.pm. The patch may not be the most run-time efficient solution, I just loop over both completitions as long as they insert new elements into the tree (and restrict the completition loops to the newly inserted elements), but as said, I'm still trying to understand the data storage. Trying... ;)
Message body not shown because it is not plain text.