This allows Oga to parse documents that contain an XML declaration at a place other than at the document root. Oga still only assigns the XML declaration to the document whenever it is at the top-level. This matches libxml/XML specification behaviour as far as I can tell. |
||
|---|---|---|
| .. | ||
| oga | ||
| oga.rb | ||