reference-bozo.rst 865 B

123456789101112131415161718
  1. :py:attr:`bozo`
  2. ===============
  3. An integer, either ``1`` or ``0``. Set to ``1`` if the feed is not well-formed
  4. :abbr:`XML (Extensible Markup Language)`, and ``0`` otherwise.
  5. See :ref:`advanced.bozo` for more details on the :py:attr:`bozo` bit.
  6. .. tip::
  7. :py:attr:`bozo` may not be present. Some platforms, such as Mac OS X 10.2 and some
  8. versions of FreeBSD, do not include an :abbr:`XML (Extensible Markup Language)`
  9. parser in their :program:`Python` distributions. :program:`Universal Feed Parser`
  10. will still work on these platforms, but it will not be able to detect whether a
  11. feed is well-formed. However, it *can* detect whether a feed's character
  12. encoding is incorrectly declared. (This is done in :program:`Python`, not by
  13. the :abbr:`XML (Extensible Markup Language)` parser.) See
  14. :ref:`advanced.encoding` for details.