Skip to content

Commit 55be4f1

Browse files
committed
Unbreak lxp
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%401145
1 parent 454a8ca commit 55be4f1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/html5lib/liberalxmlparser.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ def processComment(self, data):
108108

109109
class XmlRootPhase(html5parser.Phase):
110110
""" Consume XML Prologs """
111+
def processEOF(self):
112+
pass
113+
111114
def processComment(self, data):
112115
print repr(data)
113116
if not data.startswith('?xml') or not data.endswith('?'):
@@ -143,5 +146,8 @@ def endTagOther(self, name):
143146
else:
144147
self.parser.parseError()
145148

149+
def processEOF(self):
150+
pass
151+
146152
def processCharacters(self, data):
147153
self.tree.insertText(data)

0 commit comments

Comments
 (0)