intertwingly

It’s just data

Beware of the New Line


After all these years, two separate Python runtime library bugs affected me in one day.  This one caused the Feed Validator to blow up, but now has a workaround.  Here’s a simple test case:

from xml.dom import minidom
minidom.parseString('<foo:bar xmlns:foo="http://example.com/\nboom"/>')

And in unrelated news, the SYO top100 planet saw it’s first non-wellformedness error this morning, from an unexpected direction.  Take a look at Chris Pirillo’s page... elements with both HREF and href attributes.  The UFP lowercased the attribute names and voilà... duplicate attributes.  This, too, has since been fixed.