xmlstreaming: started reading collections, from Christian, bug #14695

git-svn-id: trunk@22194 -
This commit is contained in:
mattias 2009-10-15 15:32:43 +00:00
parent 906e1ca74e
commit c973bbc6d5

View File

@ -762,8 +762,8 @@ begin
CheckNode('collection');
FElementPosition:=0;
// go to node 'list'
FElement:=FElement.FirstChild as TDOMElement;
CheckNode('list');
if Assigned(FElement.FirstChild) and (FElement.FirstChild.NodeName='list') then
FElement:=FElement.FirstChild as TDOMElement;
end;
end;
end;