<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,7 +2,7 @@
 
 * Accommodate that libxml requires you to name the default namespace when available [Ben Woosley]
 
-* Enable optional selection of a parser through the early definition of ROXML::XML::ENGINE
+* Enable optional selection of a parser through the early definition of ROXML::XML_PARSER
   [Ben Woosley]
 
 * Enable fallback to the REXML parser if LibXML is unavailable [Ben Woosley]</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -111,13 +111,11 @@ with the arguments listed after the xml_construct call.
 
 == Selecting a parser ==
 
-By default, ROXML will use libxml-ruby if it is available, or otherwise REXML.  If you'd like to
+By default, ROXML will use LibXML if it is available, or otherwise REXML.  If you'd like to
 explicitly require one or the other, you may do the following:
 
   module ROXML
-    module XML
-      ENGINE = 'libxml' # or 'rexml'
-    end
+    XML_PARSER = 'libxml' # or 'rexml'
   end
   require 'roxml'
 </diff>
      <filename>README.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -66,9 +66,7 @@ namespace :test do
   desc &quot;Test ROXML under the LibXML parser&quot;
   task :libxml do
     module ROXML
-      module XML
-        ENGINE = 'libxml'
-      end
+      XML_PARSER = 'libxml'
     end
     require 'lib/roxml'
     require 'rake/runtest'
@@ -78,9 +76,7 @@ namespace :test do
   desc &quot;Test ROXML under the REXML parser&quot;
   task :rexml do
     module ROXML
-      module XML
-        ENGINE = 'rexml'
-      end
+      XML_PARSER = 'rexml'
     end
     require 'lib/roxml'
     require 'rake/runtest'</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,15 +1,13 @@
 module ROXML
-  module XML # ::nodoc::
-    unless const_defined? 'ENGINE'
-      begin
-        require 'libxml' unless const_defined? 'LibXML'
-        ENGINE = 'libxml'
-      rescue LoadError
-        ENGINE = 'rexml'
-      end
+  unless const_defined? 'XML_PARSER'
+    begin
+      require 'libxml'
+      XML_PARSER = 'libxml'
+    rescue LoadError
+      XML_PARSER = 'rexml'
     end
-    require File.join(File.dirname(__FILE__), 'xml', ENGINE)
   end
+  require File.join(File.dirname(__FILE__), 'xml', XML_PARSER)
 
   #
   # Internal base class that represents an XML - Class binding.</diff>
      <filename>lib/roxml/xml.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d50e9f03ac31c5d4e4ff7c8ade15ef001fffe3a5</id>
    </parent>
  </parents>
  <author>
    <name>Ben Woosley</name>
    <email>ben.woosley@gmail.com</email>
  </author>
  <url>http://github.com/yob/roxml/commit/e4b8eb638c838c2a8cc24d2b08bcdac39d7419f0</url>
  <id>e4b8eb638c838c2a8cc24d2b08bcdac39d7419f0</id>
  <committed-date>2008-10-02T03:06:59-07:00</committed-date>
  <authored-date>2008-10-02T03:06:59-07:00</authored-date>
  <message>Simply parser selection by referencing ROXML::XML_PARSER rather than ROXML::XML::ENGINE</message>
  <tree>0ba84d7aebb0ef5eeb221974e584138383878c8a</tree>
  <committer>
    <name>Ben Woosley</name>
    <email>ben.woosley@gmail.com</email>
  </committer>
</commit>
