1# Copyright 2016 Google Inc.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15################################################################################
16#
17# AFL dictionary for XML
18# ----------------------
19#
20# Several basic syntax elements and attributes, modeled on libxml2.
21#
22# Created by Michal Zalewski <lcamtuf@google.com>
23#
24
25attr_encoding=" encoding=\"1\""
26attr_generic=" a=\"1\""
27attr_href=" href=\"1\""
28attr_standalone=" standalone=\"no\""
29attr_version=" version=\"1\""
30attr_xml_base=" xml:base=\"1\""
31attr_xml_id=" xml:id=\"1\""
32attr_xml_lang=" xml:lang=\"1\""
33attr_xml_space=" xml:space=\"1\""
34attr_xmlns=" xmlns=\"1\""
35
36entity_builtin="&lt;"
37entity_decimal="&#1;"
38entity_external="&a;"
39entity_hex="&#x1;"
40
41string_any="ANY"
42string_brackets="[]"
43string_cdata="CDATA"
44string_col_fallback=":fallback"
45string_col_generic=":a"
46string_col_include=":include"
47string_dashes="--"
48string_empty="EMPTY"
49string_empty_dblquotes="\"\""
50string_empty_quotes="''"
51string_entities="ENTITIES"
52string_entity="ENTITY"
53string_fixed="#FIXED"
54string_id="ID"
55string_idref="IDREF"
56string_idrefs="IDREFS"
57string_implied="#IMPLIED"
58string_nmtoken="NMTOKEN"
59string_nmtokens="NMTOKENS"
60string_notation="NOTATION"
61string_parentheses="()"
62string_pcdata="#PCDATA"
63string_percent="%a"
64string_public="PUBLIC"
65string_required="#REQUIRED"
66string_schema=":schema"
67string_system="SYSTEM"
68string_ucs4="UCS-4"
69string_utf16="UTF-16"
70string_utf8="UTF-8"
71string_xmlns="xmlns:"
72
73tag_attlist="<!ATTLIST"
74tag_cdata="<![CDATA["
75tag_close="</a>"
76tag_doctype="<!DOCTYPE"
77tag_element="<!ELEMENT"
78tag_entity="<!ENTITY"
79tag_ignore="<![IGNORE["
80tag_include="<![INCLUDE["
81tag_notation="<!NOTATION"
82tag_open="<a>"
83tag_open_close="<a />"
84tag_open_exclamation="<!"
85tag_open_q="<?"
86tag_sq2_close="]]>"
87tag_xml_q="<?xml?>"
88