1 <!-- ##### SECTION Title ##### -->
2 Simple XML Subset Parser
4 <!-- ##### SECTION Short_Description ##### -->
8 <!-- ##### SECTION Long_Description ##### -->
10 The "GMarkup" parser is intended to parse a simple markup format
11 that's a subset of XML format. This is a small, efficient, easy-to-use
12 parser. It should not be used if you expect to interoperate with other
13 applications generating full-scale XML. However, it's very useful for
14 application data files, config files, etc. where you know your
15 application will be the only one writing the file. Full-scale XML
16 parsers should be able to parse the subset used by GMarkup, so you can
17 easily migrate to full-scale XML at a later time if the need arises.
21 GMarkup is not guaranteed to signal an error on all invalid XML; the
22 parser may accept documents that an XML parser would not, e.g. the
23 sequence <literal><[[</literal> has special meaning in XML and not
24 in GMarkup. However, invalid XML documents are not considered valid
29 Simplifications to XML include:
33 Only UTF-8 encoding is allowed.
38 No CDATA, no user-defined entities.
43 Processing instructions and comments are "passed through" but are not
44 interpreted in any way.
60 The markup format does support:
74 5 standard entities: <literal>&amp; &lt; &gt; &quot; &apos;</literal>
85 <!-- ##### SECTION See_Also ##### -->