<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Module: REXML</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> <script type="text/javascript"> // <![CDATA[ function popupCode( url ) { window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") } function toggleCode( id ) { if ( document.getElementById ) elem = document.getElementById( id ); else if ( document.all ) elem = eval( "document.all." + id ); else return false; elemStyle = elem.style; if ( elemStyle.display != "block" ) { elemStyle.display = "block" } else { elemStyle.display = "none" } return true; } // Make codeblocks hidden by default document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) // ]]> </script> </head> <body> <div id="classHeader"> <table class="header-table"> <tr class="top-aligned-row"> <td><strong>Module</strong></td> <td class="class-name-in-header">REXML</td> </tr> <tr class="top-aligned-row"> <td><strong>In:</strong></td> <td> <a href="../files/lib/feedparser/rexml_patch_rb.html"> lib/feedparser/rexml_patch.rb </a> <br /> </td> </tr> </table> </div> <!-- banner header --> <div id="bodyContent"> <div id="contextContent"> <div id="diagram"> <map id="map" name="map"> <area shape="rect" coords="252,88,359,136" href="REXML/Element.html" alt="Element" /> <area shape="rect" coords="149,52,461,147" href="REXML.html" alt="lib/feedparser/rexml_patch.rb" /> <area shape="rect" coords="37,75,139,124" href="REXML/Encoding.html" alt="Encoding" /> <area shape="rect" coords="16,16,472,157" href="REXML.html" alt="REXML" /> </map> <img src="../dot/m_1_0.png" usemap="#map" border="0" alt="dot/m_1_0.png"> </div> <div id="description"> <p> Patch for <a href="REXML.html">REXML</a> Very ugly patch to make <a href="REXML.html">REXML</a> error-proof. The problem is <a href="REXML.html">REXML</a> uses IConv, which isn‘t error-proof at all. With those changes, it uses unpack/pack with some error handling </p> </div> </div> </div> <!-- if includes --> <div id="section"> <div id="class-list"> <h3 class="section-bar">Classes and Modules</h3> Module <a href="REXML/Encoding.html" class="link">REXML::Encoding</a><br /> Class <a href="REXML/Element.html" class="link">REXML::Element</a><br /> </div> <!-- if method_list --> </div> <div id="validator-badges"> <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> </div> </body> </html>