diff --git a/result/ent12 b/result/ent12 new file mode 100644 index 00000000..f603c59c --- /dev/null +++ b/result/ent12 @@ -0,0 +1,8 @@ + + + +]> + + &bar; + diff --git a/result/ent12.rde b/result/ent12.rde new file mode 100644 index 00000000..483547b8 --- /dev/null +++ b/result/ent12.rde @@ -0,0 +1,10 @@ +0 10 root 0 0 +0 1 root 0 0 +1 14 #text 0 1 + +1 1 element 0 0 +2 3 #text 0 1 def +1 15 element 0 0 +1 14 #text 0 1 + +0 15 root 0 0 diff --git a/result/ent12.rdr b/result/ent12.rdr new file mode 100644 index 00000000..884c1fee --- /dev/null +++ b/result/ent12.rdr @@ -0,0 +1,10 @@ +0 10 root 0 0 +0 1 root 0 0 +1 14 #text 0 1 + +1 1 element 0 0 +2 5 bar 0 0 +1 15 element 0 0 +1 14 #text 0 1 + +0 15 root 0 0 diff --git a/result/ent12.sax b/result/ent12.sax new file mode 100644 index 00000000..84322d27 --- /dev/null +++ b/result/ent12.sax @@ -0,0 +1,21 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.internalSubset(root, , ) +SAX.entityDecl(foo, 1, (null), (null), abc) +SAX.getEntity(foo) +SAX.entityDecl(bar, 1, (null), (null), def) +SAX.getEntity(bar) +SAX.externalSubset(root, , ) +SAX.getEntity(foo) +SAX.startElement(root, attribute='&foo;') +SAX.characters( + , 4) +SAX.startElement(element) +SAX.getEntity(bar) +SAX.characters(def, 3) +SAX.reference(bar) +SAX.endElement(element) +SAX.characters( +, 1) +SAX.endElement(root) +SAX.endDocument() diff --git a/result/ent12.sax2 b/result/ent12.sax2 new file mode 100644 index 00000000..881fedd8 --- /dev/null +++ b/result/ent12.sax2 @@ -0,0 +1,21 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.internalSubset(root, , ) +SAX.entityDecl(foo, 1, (null), (null), abc) +SAX.getEntity(foo) +SAX.entityDecl(bar, 1, (null), (null), def) +SAX.getEntity(bar) +SAX.externalSubset(root, , ) +SAX.getEntity(foo) +SAX.startElementNs(root, NULL, NULL, 0, 1, 0, attribute='&foo...', 5) +SAX.characters( + , 4) +SAX.startElementNs(element, NULL, NULL, 0, 0, 0) +SAX.getEntity(bar) +SAX.characters(def, 3) +SAX.reference(bar) +SAX.endElementNs(element, NULL, NULL) +SAX.characters( +, 1) +SAX.endElementNs(root, NULL, NULL) +SAX.endDocument() diff --git a/result/noent/ent12 b/result/noent/ent12 new file mode 100644 index 00000000..e3983133 --- /dev/null +++ b/result/noent/ent12 @@ -0,0 +1,8 @@ + + + +]> + + def + diff --git a/test/ent12 b/test/ent12 new file mode 100644 index 00000000..f495831a --- /dev/null +++ b/test/ent12 @@ -0,0 +1,8 @@ + + + +]> + + &bar; +