/*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2020-2021 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
#include "tvgSvgLoaderCommon.h"
+#define NUMBER_OF_XML_ENTITIES 8
+const char* const xmlEntity[] = {""", " ", "'", "&", "<", ">", "#", "'"};
+const int xmlEntityLength[] = {6, 6, 6, 5, 4, 4, 6, 6};
+
enum class SimpleXMLType
{
Open = 0, //!< \<tag attribute="value"\>
bool simpleXmlParseW3CAttribute(const char* buf, simpleXMLAttributeCb func, const void* data);
const char *simpleXmlFindAttributesTag(const char* buf, unsigned buflen);
+#ifdef THORVG_LOG_ENABLED
+string simpleXmlNodeTypeToString(SvgNodeType type);
+
+bool isIgnoreUnsupportedLogElements(const char* tagName);
+#endif
+
#endif //_TVG_SIMPLE_XML_PARSER_H_