←Select platform

IgnoreXmlParsingErrors Property

Summary
Gets or sets a value that indicates whether to try ignoring XML parsing errors when loading the SVG.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public bool IgnoreXmlParsingErrors { get; set; } 
@property (nonatomic, assign) BOOL ignoreXmlParsingErrors; 
public boolean getIgnoreXmlParsingErrors() 
public void setIgnoreXmlParsingErrors(boolean value) 
public: 
property bool IgnoreXmlParsingErrors { 
   bool get(); 
   void set (    bool ); 
} 
IgnoreXmlParsingErrors # get and set (CodecsLoadSvgOptions) 

Property Value

Value Description
true To ignore XML parsing errors when loading the SVG.
false To allow XML parsing errors when loading the SVG. false is the default value.
Remarks

When the value of IgnoreXmlParsingErrors is false (the default), the engine will use strict XML parsing rule when loading the SVG. Any malfunctioned data will result in an error being thrown.

When the value of IgnoreXmlParsingErrors is true, then the engine will relax the XML parsing rules and try to ignore insignificant errors in the XML data if possible. For example, tags that are not closed and elements or attributes that do not adhere to the SVG standard specification.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.