This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: make-pyexpat failed
Type: Stage:
Components: XML Versions:
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: copter, loewis
Priority: normal Keywords:

Created on 2002-02-18 10:22 by copter, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
expatversion.txt nobody, 2002-03-05 08:31 Expat version
Messages (3)
msg9313 - (view) Author: Chalaoux (copter) Date: 2002-02-18 10:22
Hi,

This the make_pyexpat report after my compilation of 
python 2.1.1 on a sun machine.

Bye

####################################################
>python Lib/test/test_pyexpat.py

OK.
OK.
OK.
OK.
PI:
	'xml-stylesheet' 'href="stylesheet.css"'
Comment:
	' comment data '
Notation declared: ('notation', None, 'notation.jpeg', 
None)
Unparsed entity decl:
	('unparsed_entity', None, 'entity.file', 
None, 'notation')
Start element:
	'root' {'attr1': 'value1', 'attr2': 'value2\xe1
\xbd\x80'}
NS decl:
	'myns' 'http://www.python.org/namespace'
Start element:
	'http://www.python.org/namespace!subelement' {}
Character data:
	'Contents of subelements'
End element:
	'http://www.python.org/namespace!subelement'
End of NS decl:
	'myns'
Start element:
	'sub2' {}
Start of CDATA section
Character data:
	'contents of CDATA section'
End of CDATA section
End element:
	'sub2'
External entity ref: (None, 'entity.file', None)
End element:
	'root'
PI:
	u'xml-stylesheet' u'href="stylesheet.css"'
Comment:
	u' comment data '
Notation declared: (u'notation', None, 
u'notation.jpeg', None)
Unparsed entity decl:
	(u'unparsed_entity', None, u'entity.file', 
None, u'notation')
Start element:
	u'root' {u'attr1': u'value1', u'attr2': 
u'value2\u1f40'}
NS decl:
	u'myns' u'http://www.python.org/namespace'
Start element:
	u'http://www.python.org/namespace!subelement' 
{}
Character data:
	u'Contents of subelements'
End element:
	u'http://www.python.org/namespace!subelement'
End of NS decl:
	u'myns'
Start element:
	u'sub2' {}
Start of CDATA section
Character data:
	u'contents of CDATA section'
End of CDATA section
End element:
	u'sub2'
External entity ref: (None, u'entity.file', None)
End element:
	u'root'
PI:
	u'xml-stylesheet' u'href="stylesheet.css"'
Comment:
	u' comment data '
Notation declared: (u'notation', None, 
u'notation.jpeg', None)
Unparsed entity decl:
	(u'unparsed_entity', None, u'entity.file', 
None, u'notation')
Start element:
	u'root' {u'attr1': u'value1', u'attr2': 
u'value2\u1f40'}
NS decl:
	u'myns' u'http://www.python.org/namespace'
Start element:
	u'http://www.python.org/namespace!subelement' 
{}
Character data:
	u'Contents of subelements'
End element:
	u'http://www.python.org/namespace!subelement'
End of NS decl:
	u'myns'
Start element:
	u'sub2' {}
Start of CDATA section
Character data:
	u'contents of CDATA section'
End of CDATA section
End element:
	u'sub2'
External entity ref: (None, u'entity.file', None)
End element:
	u'root'

Testing constructor for proper handling of 
namespace_separator values:
Legal values tested o.k.
Caught expected TypeError:
ParserCreate() argument 2 must be string or None, not 
int
Caught expected ValueError:
namespace_separator must be at most one character, 
omitted, or None
Failed to catch expected ValueError.
msg9314 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-02-18 17:52
Logged In: YES 
user_id=21627

What is the expat version you are using?
msg9315 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-03-27 16:52
Logged In: YES 
user_id=21627

Closed for lack of feedback; also irrelevant for Python 2.3,
as this has its expat copy included.
History
Date User Action Args
2022-04-10 16:05:00adminsetgithub: 36119
2002-02-18 10:22:28coptercreate