lazutils: laz_xmlstreaming: made GetPropertyElement protected, fixed reading vaBinary, bug #23534

git-svn-id: trunk@39651 -
This commit is contained in:
mattias 2012-12-25 09:25:07 +00:00
parent 6324ecb89a
commit 55daa17ac3

View File

@ -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