Fixed the implementation of the buildIndex function which was not working for new document insertions. A previous fix in updatePathIndex for ATTRIBUTE data inadvertantly caused a foreign key duplication exception for insertions of ELEMENT nodes when multiple relative paths exist. This fix simply reverts to the old behaviour of allowing the primary key of xml_path_index to be set using its sequence instead of manually matching it to the xml_nodes.nodeid (which the current code did and which caused the duplicate key problem). See bug 2469 for related details regaring the indexing changes.
Fixed the implementation of the buildIndex function which was not
working for new document insertions. A previous fix in updatePathIndex
for ATTRIBUTE data inadvertantly caused a foreign key duplication
exception for insertions of ELEMENT nodes when multiple relative paths
exist. This fix simply reverts to the old behaviour of allowing the
primary key of xml_path_index to be set using its sequence instead of
manually matching it to the xml_nodes.nodeid (which the current code
did and which caused the duplicate key problem). See bug 2469 for
related details regaring the indexing changes.