source: exist/trunk/python/elementtree-1.3a6-20070310-badc/unittests/test_xmlparser.py @ 3578

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/exist/trunk/python/elementtree-1.3a6-20070310-badc/unittests/test_xmlparser.py@3578
Revision 3578, 421 bytes checked in by pjkersha, 11 years ago (diff)

Latest releases from Fredrik Lundh. 10 March release has exclusive C14N support with namespace prefixes.

Line 
1# $Id: test_xmlparser.py 3298 2007-09-13 14:38:02Z fredrik $
2
3from support import *
4
5def bug_200708_version():
6    """
7    >>> parser = ET.XMLParser()
8    >>> parser.version
9    'Expat 2.0.0'
10    >>> parser.feed(open("samples/simple.xml").read())
11    >>> print serialize(parser.close())
12    <root>
13       <element key="value">text</element>
14       <element>text</element>tail
15       <empty-element />
16    </root>
17    """
Note: See TracBrowser for help on using the repository browser.