mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-25 13:49:16 +02:00
lazutils: laz_xmlstreaming: made GetPropertyElement protected, fixed reading vaBinary, bug #23534
git-svn-id: trunk@39651 -
This commit is contained in:
parent
6324ecb89a
commit
55daa17ac3
@ -51,6 +51,7 @@ type
|
||||
procedure StackPush(const Element: string = '';
|
||||
ElementType: TXMLObjectWriterStackElType = elUnknown);
|
||||
procedure StackPop;
|
||||
protected
|
||||
function GetPropertyElement(const TypeName: String): TDOMElement;
|
||||
public
|
||||
constructor Create(ADoc: TDOMDocument; const APath: string; Append: Boolean);
|
||||
@ -750,6 +751,8 @@ begin
|
||||
{$ENDIF}
|
||||
else if FElement.NodeName='collectionproperty' then
|
||||
Result:=vaCollection
|
||||
else if FElement.NodeName='binary' then
|
||||
Result:=vaBinary
|
||||
else
|
||||
RaiseUnknownNode(FElement);
|
||||
if not Stay then begin
|
||||
|
Loading…
Reference in New Issue
Block a user