<< | Index | >>
HTML of swissmedicinfo.ch has following structure.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html><body><content><div xmlns="http://www.w3.org/1999/xhtml"> <p class="s3" id="section1"><span class="s2"><span>Voltaren</span></span><span class="s2"><span>®</span></span><span class="s2"><span> Emulgel®</span></span></p> <p class="s4"> </p> <p class="s3" id="section2"><span class="s5"><span>Zusammensetzung</span></span></p> <p class="s3"><span class="s6"><span>Wirkstoff:</span></span><span class="s7"><span> Diclofenacum diethylaminum.</span></span></p> <p class="s3"><span class="s6"><span>Hilfsstoffe:</span></span><span class="s7"><span> Propylenglycolum, Isopropanolum,</span></span><span class="s5"><span> </span></span><span class="s7"><span>Aromatica, Excipiens ad unguent. emulgat.</span></span></p> <p class="s4"> </p> <p class="s3" id="section3"><span class="s5"><span>Galenische Form und Wirkstoffmenge pro Einheit</span></span></p> <p class="s3"><span class="s7"><span>100 g Voltaren Emulgel enthalten als Wirkstoff Diclofenac. diethylaminum 1,16 g,</span></span></p> <p class="s3"><span class="s7"><span>entsprechend 1 g Diclofenac Natricum.</span></span></p> <p class="s3"><span class="s7"><span>Die Grundlage ist eine Emulsion von Lipiden in einem wässrigen Gel mit Zusätzen von</span></span></p> <p class="s3"><span class="s7"><span>Isopropanol und Propylenglykol.</span></span></p> <p class="s4"> </p> ...
ruby-ole-1.2.11.6/lib/ole/storage/base.rb
# rewrote this to be non-recursive as it broke on a large attachment # chain with a stack error def chain idx a = [] until idx >= META_BAT raise FormatError, "broken allocationtable chain" if idx < 0 || idx > length a << idx idx = self[idx] end Log.warn "invalid chain terminator #{idx}" unless idx == EOC a end