diff --git a/result/errors/attr5.xml.ent b/result/errors/attr5.xml.ent
new file mode 100644
index 00000000..b1f524f8
--- /dev/null
+++ b/result/errors/attr5.xml.ent
@@ -0,0 +1,3 @@
+./test/errors/attr5.xml:2: parser error : Attribute b redefined
+
+ ^
diff --git a/result/errors/attr5.xml.err b/result/errors/attr5.xml.err
new file mode 100644
index 00000000..b1f524f8
--- /dev/null
+++ b/result/errors/attr5.xml.err
@@ -0,0 +1,3 @@
+./test/errors/attr5.xml:2: parser error : Attribute b redefined
+
+ ^
diff --git a/result/errors/attr5.xml.str b/result/errors/attr5.xml.str
new file mode 100644
index 00000000..9a739518
--- /dev/null
+++ b/result/errors/attr5.xml.str
@@ -0,0 +1,4 @@
+./test/errors/attr5.xml:2: parser error : Attribute b redefined
+
+ ^
+./test/errors/attr5.xml : failed to parse
diff --git a/result/errors/attr6.xml.ent b/result/errors/attr6.xml.ent
new file mode 100644
index 00000000..96c7a246
--- /dev/null
+++ b/result/errors/attr6.xml.ent
@@ -0,0 +1,60 @@
+./test/errors/attr6.xml:3: parser error : Attribute c:db redefined
+"" d:em="" d:bw="" b:bb="" b:ey="" c:cd="" a:ce="" b:ah="" c:am="" cq="" c:db=""
+ ^
+./test/errors/attr6.xml:4: parser error : Attribute d:do redefined
+ c:ba="" b:bj="" a:bn="" c:fd="" c:fe="" a:dh="" b:ef="" d:do="" b:da="" a:cv=""
+ ^
+./test/errors/attr6.xml:7: parser error : Attribute bu redefined
+r="" b:fe="" dc="" d:cx="" d:ce="" b:fg="" d:dw="" d:cy="" ap="" a:ek="" c:ee=""
+ ^
+./test/errors/attr6.xml:8: parser error : Attribute c:ae redefined
+a="" b:dk="" a:cl="" d:bd="" d:bh="" bv="" c:fc="" d:bx="" d:bf="" d:cq="" dz=""
+ ^
+./test/errors/attr6.xml:15: parser error : Attribute c:cy redefined
+"" a:ey="" a:be="" c:df="" b:ej="" a:cv="" c:ds="" d:bx="" c:cd="" eo="" a:fi=""
+ ^
+./test/errors/attr6.xml:17: parser error : Attribute bt redefined
+"" b:aa="" a:aj="" c:cp="" a:ck="" b:fi="" a:fj="" aw="" d:df="" d:ct="" d:fg=""
+ ^
+./test/errors/attr6.xml:19: parser error : Attribute aa redefined
+ b:fi="" b:ey="" a:cv="" b:ag="" b:du="" a:az="" a:fg="" b:cr="" d:bd="" d:eu=""
+ ^
+./test/errors/attr6.xml:19: parser error : Attribute d:cy redefined
+ b:fi="" b:ey="" a:cv="" b:ag="" b:du="" a:az="" a:fg="" b:cr="" d:bd="" d:eu=""
+ ^
+./test/errors/attr6.xml:27: parser error : Attribute dw redefined
+"" d:ax="" bw="" d:as="" b:eh="" a:cw="" b:cy="" d:ed="" b:do="" b:bx="" a:bo=""
+ ^
+./test/errors/attr6.xml:27: parser error : Attribute d:du redefined
+"" d:ax="" bw="" d:as="" b:eh="" a:cw="" b:cy="" d:ed="" b:do="" b:bx="" a:bo=""
+ ^
+./test/errors/attr6.xml:29: parser error : Attribute b:cb redefined
+ a:cu="" c:eu="" fe="" d:ac="" d:bl="" c:dr="" co="" c:bn="" cf="" b:cw="" ew=""
+ ^
+./test/errors/attr6.xml:36: parser error : Attribute ay redefined
+ b:cv="" d:bi="" b:fl="" fe="" b:am="" c:fm="" c:di="" bs="" dc="" b:bm="" es=""
+ ^
+./test/errors/attr6.xml:41: parser error : Attribute au redefined
+t="" d:ew="" d:ek="" a:bu="" b:dc="" d:ab="" cj="" d:bj="" a:bg="" a:da="" ac=""
+ ^
+./test/errors/attr6.xml:43: parser error : Attribute em redefined
+p="" d:cv="" bh="" c:dy="" c:eq="" b:am="" b:ed="" b:co="" a:ew="" c:av="" ad=""
+ ^
+./test/errors/attr6.xml:45: parser error : Attribute cr redefined
+:ax="" bc="" d:br="" b:aq="" a:dn="" d:fa="" d:cb="" d:bo="" ds="" ad="" c:cg=""
+ ^
+./test/errors/attr6.xml:45: parser error : Attribute a:az redefined
+:ax="" bc="" d:br="" b:aq="" a:dn="" d:fa="" d:cb="" d:bo="" ds="" ad="" c:cg=""
+ ^
+./test/errors/attr6.xml:46: parser error : Attribute a:cy redefined
+x="" b:cr="" d:ca="" c:em="" d:es="" a:du="" cc="" c:ci="" b:dt="" d:fm="" bb=""
+ ^
+./test/errors/attr6.xml:47: parser error : Attribute d:cs redefined
+"" a:ea="" c:en="" c:cv="" c:eq="" c:fk="" ax="" a:az="" a:fd="" d:cw="" d:cs=""
+ ^
+./test/errors/attr6.xml:49: parser error : Attribute a:dv redefined
+y="" dg="" a:dp="" d:ai="" a:ea="" b:eq="" b:ei="" d:ar="" cp="" a:fe="" a:cv=""
+ ^
+./test/errors/attr6.xml:50: parser error : Attribute b:do redefined
+"" a:el="" b:fe="" cy="" d:cq="" c:eo="" a:cg="" a:dh="" b:eu="" a:cp="" a:fk=""
+ ^
diff --git a/result/errors/attr6.xml.err b/result/errors/attr6.xml.err
new file mode 100644
index 00000000..96c7a246
--- /dev/null
+++ b/result/errors/attr6.xml.err
@@ -0,0 +1,60 @@
+./test/errors/attr6.xml:3: parser error : Attribute c:db redefined
+"" d:em="" d:bw="" b:bb="" b:ey="" c:cd="" a:ce="" b:ah="" c:am="" cq="" c:db=""
+ ^
+./test/errors/attr6.xml:4: parser error : Attribute d:do redefined
+ c:ba="" b:bj="" a:bn="" c:fd="" c:fe="" a:dh="" b:ef="" d:do="" b:da="" a:cv=""
+ ^
+./test/errors/attr6.xml:7: parser error : Attribute bu redefined
+r="" b:fe="" dc="" d:cx="" d:ce="" b:fg="" d:dw="" d:cy="" ap="" a:ek="" c:ee=""
+ ^
+./test/errors/attr6.xml:8: parser error : Attribute c:ae redefined
+a="" b:dk="" a:cl="" d:bd="" d:bh="" bv="" c:fc="" d:bx="" d:bf="" d:cq="" dz=""
+ ^
+./test/errors/attr6.xml:15: parser error : Attribute c:cy redefined
+"" a:ey="" a:be="" c:df="" b:ej="" a:cv="" c:ds="" d:bx="" c:cd="" eo="" a:fi=""
+ ^
+./test/errors/attr6.xml:17: parser error : Attribute bt redefined
+"" b:aa="" a:aj="" c:cp="" a:ck="" b:fi="" a:fj="" aw="" d:df="" d:ct="" d:fg=""
+ ^
+./test/errors/attr6.xml:19: parser error : Attribute aa redefined
+ b:fi="" b:ey="" a:cv="" b:ag="" b:du="" a:az="" a:fg="" b:cr="" d:bd="" d:eu=""
+ ^
+./test/errors/attr6.xml:19: parser error : Attribute d:cy redefined
+ b:fi="" b:ey="" a:cv="" b:ag="" b:du="" a:az="" a:fg="" b:cr="" d:bd="" d:eu=""
+ ^
+./test/errors/attr6.xml:27: parser error : Attribute dw redefined
+"" d:ax="" bw="" d:as="" b:eh="" a:cw="" b:cy="" d:ed="" b:do="" b:bx="" a:bo=""
+ ^
+./test/errors/attr6.xml:27: parser error : Attribute d:du redefined
+"" d:ax="" bw="" d:as="" b:eh="" a:cw="" b:cy="" d:ed="" b:do="" b:bx="" a:bo=""
+ ^
+./test/errors/attr6.xml:29: parser error : Attribute b:cb redefined
+ a:cu="" c:eu="" fe="" d:ac="" d:bl="" c:dr="" co="" c:bn="" cf="" b:cw="" ew=""
+ ^
+./test/errors/attr6.xml:36: parser error : Attribute ay redefined
+ b:cv="" d:bi="" b:fl="" fe="" b:am="" c:fm="" c:di="" bs="" dc="" b:bm="" es=""
+ ^
+./test/errors/attr6.xml:41: parser error : Attribute au redefined
+t="" d:ew="" d:ek="" a:bu="" b:dc="" d:ab="" cj="" d:bj="" a:bg="" a:da="" ac=""
+ ^
+./test/errors/attr6.xml:43: parser error : Attribute em redefined
+p="" d:cv="" bh="" c:dy="" c:eq="" b:am="" b:ed="" b:co="" a:ew="" c:av="" ad=""
+ ^
+./test/errors/attr6.xml:45: parser error : Attribute cr redefined
+:ax="" bc="" d:br="" b:aq="" a:dn="" d:fa="" d:cb="" d:bo="" ds="" ad="" c:cg=""
+ ^
+./test/errors/attr6.xml:45: parser error : Attribute a:az redefined
+:ax="" bc="" d:br="" b:aq="" a:dn="" d:fa="" d:cb="" d:bo="" ds="" ad="" c:cg=""
+ ^
+./test/errors/attr6.xml:46: parser error : Attribute a:cy redefined
+x="" b:cr="" d:ca="" c:em="" d:es="" a:du="" cc="" c:ci="" b:dt="" d:fm="" bb=""
+ ^
+./test/errors/attr6.xml:47: parser error : Attribute d:cs redefined
+"" a:ea="" c:en="" c:cv="" c:eq="" c:fk="" ax="" a:az="" a:fd="" d:cw="" d:cs=""
+ ^
+./test/errors/attr6.xml:49: parser error : Attribute a:dv redefined
+y="" dg="" a:dp="" d:ai="" a:ea="" b:eq="" b:ei="" d:ar="" cp="" a:fe="" a:cv=""
+ ^
+./test/errors/attr6.xml:50: parser error : Attribute b:do redefined
+"" a:el="" b:fe="" cy="" d:cq="" c:eo="" a:cg="" a:dh="" b:eu="" a:cp="" a:fk=""
+ ^
diff --git a/result/errors/attr6.xml.str b/result/errors/attr6.xml.str
new file mode 100644
index 00000000..556e949a
--- /dev/null
+++ b/result/errors/attr6.xml.str
@@ -0,0 +1,4 @@
+./test/errors/attr6.xml:3: parser error : Attribute c:db redefined
+"" d:em="" d:bw="" b:bb="" b:ey="" c:cd="" a:ce="" b:ah="" c:am="" cq="" c:db=""
+ ^
+./test/errors/attr6.xml : failed to parse
diff --git a/test/errors/attr5.xml b/test/errors/attr5.xml
new file mode 100644
index 00000000..4ee864ae
--- /dev/null
+++ b/test/errors/attr5.xml
@@ -0,0 +1,3 @@
+
+
+
diff --git a/test/errors/attr6.xml b/test/errors/attr6.xml
new file mode 100644
index 00000000..57273d4e
--- /dev/null
+++ b/test/errors/attr6.xml
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+