bernhard: thuban ChangeLog,1.693,1.694

cvs@intevation.de cvs at intevation.de
Mon Sep 27 11:56:15 CEST 2004


Author: bernhard

Update of /thubanrepository/thuban
In directory doto:/tmp/cvs-serv1600

Modified Files:
	ChangeLog 
Log Message:
More fixes to svgexport to make used ids unique and
conforming to XML's Name production. 

* Extensions/svgexport/test/test_svgmapwriter.py: Added new tests
test_xml_id_constraints(), test_make_ide_nosetbaseid() and
test_make_id_nonintegersetid().  Switched SetID and SetBaseID.
Added Bernhard R. as author.
* Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as
concatenation char now (makes test_make_ide_nosetbaseid() valid).
Also transform second id part with "%d" and catch the TypeError
to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok).
Corrected typo inBernhard's author line.
(SetBaseID): Return the transformed base id. Transform characters
which are not alnum() or in ".-_" to binascii.b2a_hex(). Added
import binascii. If to be set string starts with "xml" or so, add "t".
(draw_shape_layer_incrementally): use the returned value of SetBaseID
for used_baseids checks.


Index: ChangeLog
===================================================================
RCS file: /thubanrepository/thuban/ChangeLog,v
retrieving revision 1.693
retrieving revision 1.694
diff -u -d -r1.693 -r1.694
--- ChangeLog	25 Sep 2004 18:49:20 -0000	1.693
+++ ChangeLog	27 Sep 2004 09:56:13 -0000	1.694
@@ -1,3 +1,23 @@
+2004-09-27  Bernhard Reiter <bernhard at intevation.de>
+
+	More fixes to svgexport to make used ids unique and
+	conforming to XML's Name production. 
+
+	* Extensions/svgexport/test/test_svgmapwriter.py: Added new tests
+	test_xml_id_constraints(), test_make_ide_nosetbaseid() and
+	test_make_id_nonintegersetid().  Switched SetID and SetBaseID.
+	Added Bernhard R. as author.
+	* Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as
+	concatenation char now (makes test_make_ide_nosetbaseid() valid).
+	Also transform second id part with "%d" and catch the TypeError
+	to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok).
+	Corrected typo inBernhard's author line.
+	(SetBaseID): Return the transformed base id. Transform characters
+	which are not alnum() or in ".-_" to binascii.b2a_hex(). Added
+	import binascii. If to be set string starts with "xml" or so, add "t".
+	(draw_shape_layer_incrementally): use the returned value of SetBaseID
+	for used_baseids checks.
+
 2004-09-25  Bernhard Herzog  <bh at intevation.de>
 
 	* test/test_layer.py (TestLayer.test_arc_layer_with_projection):
@@ -8,6 +28,7 @@
 	* Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author.
 	(SetBaseID, SetID, make_id): Improved docstring comments to explain
 	the interaction of the three functions and the XML id contrains.
+
 
 2004-09-23  Jan-Oliver Wagner <jan at intevation.de>
 





More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)