1
0
mirror of synced 2024-11-21 13:43:49 +00:00

Merge pull request #4 from selectline-software/EXmlDocErrorWithNestedDocumentation

fixed exception in TXMLDataBindingItem.GetDocumentation
This commit is contained in:
Mark van Renswoude 2022-06-14 13:17:21 +02:00 committed by GitHub
commit b4998a5da8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1782,7 +1782,8 @@ end;
function TXMLDataBindingItem.GetHasDocumentation: Boolean; function TXMLDataBindingItem.GetHasDocumentation: Boolean;
begin begin
Result := Assigned(SchemaItem) and Result := Assigned(SchemaItem) and
(SchemaItem.Documentation.Count > 0); (SchemaItem.Documentation.Count > 0) and
SchemaItem.Documentation.IsTextElement;
end; end;