Package: kid
Version: 0.8-1
Severity: normal
Consider this template:
<?python
def return_nbsp():
return XML(" ")
?>
<div xmlns:py="http://purl.org/kid/ns#" py:content="return_nbsp()"/>
Executing it with kid yields:
<?xml version="1.0" encoding="utf-8"?>
<div />
The is stripped from the element tag (it is probably considered
"leading whitespace") and the the div tag is collapsed. This is
obviously not the desired behaviour.
BTW: Is there are way to prevent kid from collapsing an empty tag? Some
browsers have problem with some tags if they are collapsed.
- Sebastian
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages kid depends on:
ii python 2.3.5-5 An interactive high-level object-o
ii python-elementtree 1.2.6-3 Light-weight toolkit for XML proce
kid recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]