X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=XMLTree.cpp;h=8f8739d282075902db75097245923c8b38a2c4e4;hb=016317b1e519d67177bf606b83f17f386caace9b;hp=ae80fc2a489680d270c6fba2d59939a8c9bddc00;hpb=b53633fb64f387edb5cebefbb3308b6347b2389c;p=SXSI%2FXMLTree.git diff --git a/XMLTree.cpp b/XMLTree.cpp index ae80fc2..8f8739d 100644 --- a/XMLTree.cpp +++ b/XMLTree.cpp @@ -1041,9 +1041,9 @@ int XMLTree::CloseDocument() // If we found an attribute then "<@>" is present in the tree // if we didn't then it is not. "<$>" is never present in the tree - //uint max_tag = 0; - //for(uint i=0;i<(uint)npar-1;i++) - // max_tag = max(max_tag,tags_aux[i]); + uint max_tag = 0; + for(uint i=0;i<(uint)npar-1;i++) + max_tag = max(max_tag,tags_aux[i]); //max_tag++; //tags_aux = (TagType *) urealloc(tags_aux, sizeof(TagType)*(npar + 1)); //tags_aux[npar++] = max_tag;