Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 7e03e96dde1cbbdbc7cc96424cd9e059 > files > 51

python-feedparser-doc-5.1.3-3.fc18.noarch.rpm

:py:attr:`bozo`
===============

An integer, either ``1`` or ``0``.  Set to ``1`` if the feed is not well-formed
:abbr:`XML (Extensible Markup Language)`, and ``0`` otherwise.

See :ref:`advanced.bozo` for more details on the :py:attr:`bozo` bit.

.. tip::

    :py:attr:`bozo` may not be present.  Some platforms, such as Mac OS X 10.2 and some
    versions of FreeBSD, do not include an :abbr:`XML (Extensible Markup Language)`
    parser in their :program:`Python` distributions.  :program:`Universal Feed Parser`
    will still work on these platforms, but it will not be able to detect whether a
    feed is well-formed.  However, it *can* detect whether a feed's character
    encoding is incorrectly declared.  (This is done in :program:`Python`, not by
    the :abbr:`XML (Extensible Markup Language)` parser.) See
    :ref:`advanced.encoding` for details.