--- a/src/lib/uri.h Sat Nov 28 23:49:05 2020 +0100
+++ b/src/lib/uri.h Sun Nov 29 10:50:16 2020 +0100
@@ -23,6 +23,7 @@
// TODO: these strings will become globally unique URIs (or IRIs) after moving to alt2xml and relative/unprefixed names should also work
+/** general options of the INI parser */
namespace option {
static const char* TrimContinuingLines = "trim-continuing-lines";
static const char* AllowSections = "allow-sections";
@@ -34,16 +35,33 @@
static const char* Dialect = "dialect";
}
+/** names of dynamically registered unescaping processors; they are also options */
namespace unescaping {
static const char* Basic = "unescape-basic";
static const char* JavaProperties = "unescape-java-properties";
static const char* Backspace = "unescape-backspace";
}
+/** not options but a values of the dialect option */
namespace dialect {
static const char* JavaProperties = "java-properties";
}
+/** options for configuring the stage where events from the INI parser are converted to SAX events or DOM building */
+namespace xml {
+static const char* TreeWithNamespaces = "tree-with-namespaces";
+static const char* TreeStyle = "tree-style";
+static const char* RootName = "root-name";
+static const char* EnableComments = "enable-comments";
+static const char* EnableWhitespace = "enable-whitespace";
+static const char* EnableLineNumbers = "enable-line-numbers";
+static const char* EnableEventNumbers = "enable-event-numbers";
+static const char* EnableSubKeys = "enable-sub-keys";
+// static const char* EnableSections = "enable-sections"; // TODO: flat XML without sections?
+
+static const char* XMLNS = "tag:globalcode.info,2018:alt2xml:TEMPORARY:ini"; // not an option and might change, just preliminary namespace
+}
+
}
}
}