Browse Source

* Applied and tested patch by August Klein for bug #19351

git-svn-id: trunk@17721 -
michael 14 years ago
parent
commit
10124c6f1f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-xml/src/xmlconf.pp

+ 1 - 1
packages/fcl-xml/src/xmlconf.pp

@@ -294,7 +294,7 @@ begin
   begin
   begin
     for I := 0 to FPathCount-1 do
     for I := 0 to FPathCount-1 do
       FElement := DoFindNode(FPathStack[I], FDummy, Flags - [pfHasValue]);
       FElement := DoFindNode(FPathStack[I], FDummy, Flags - [pfHasValue]);
-    FPathDirty := False;      
+    if Assigned(FElement) then FPathDirty := False;
   end;
   end;
   Result := DoFindNode(APath, Ident, Flags);
   Result := DoFindNode(APath, Ident, Flags);
 end;
 end;