diff options
Diffstat (limited to 'lib/xsd/xmlparser/parser.rb')
-rw-r--r-- | lib/xsd/xmlparser/parser.rb | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/lib/xsd/xmlparser/parser.rb b/lib/xsd/xmlparser/parser.rb index 0c7fd48084..ad01d55aa0 100644 --- a/lib/xsd/xmlparser/parser.rb +++ b/lib/xsd/xmlparser/parser.rb @@ -1,20 +1,9 @@ -=begin -XSD4R - XML Instance parser library. -Copyright (C) 2002, 2003 NAKAMURA, Hiroshi. +# XSD4R - XML Instance parser library. +# Copyright (C) 2002, 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>. -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU General Public License as published by the Free Software -Foundation; either version 2 of the License, or (at your option) any later -version. - -This program is distributed in the hope that it will be useful, but WITHOUT ANY -WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A -PRATICULAR PURPOSE. See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 675 Mass -Ave, Cambridge, MA 02139, USA. -=end +# This program is copyrighted free software by NAKAMURA, Hiroshi. You can +# redistribute it and/or modify it under the same terms of Ruby's license; +# either the dual license version in 2003, or any later version. require 'xsd/qname' @@ -57,7 +46,7 @@ public def initialize(host, opt = {}) @host = host - @charset = opt[:charset] || 'us-ascii' + @charset = opt[:charset] || nil end def parse(string_or_readable) |