Patches item #1378015, was opened at 2005-12-11 06:37 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=306473&aid=1378015&group_id=6473
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Tom (thecap) Assigned to: Nobody/Anonymous (nobody) Summary: html style element may contain text Initial Comment: Currently given the input <STYLE type="text/css"> * { font-family: Arial, Helvetica, sans-serif; font-size: small; } </STYLE> the output of xml.dom.ext.Print is <STYLE type="text/css"></STYLE> * { font-family: Arial, Helvetica, sans-serif; font-size: small; } The fix is the same as that shown at http://cvs.sourceforge.net/viewcvs.py/pyxml/xml/xml/dom/html/__init__.py?r1=1.10&r2=1.11 # diff /usr/lib/python2.4/site-packages/_xmlplus/dom/html/__init__.py.orig /usr/lib/python2.4/site-packages/_xmlplus/dom/html/__init__.py 373c373 < 'style': [], --- > 'style': ['CDATA'], See also http://www.w3.org/TR/REC-html40/present/styles.html#edef-STYLE ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=306473&aid=1378015&group_id=6473 _______________________________________________ XML-SIG maillist - XML-SIG@python.org http://mail.python.org/mailman/listinfo/xml-sig