Skip to content

Commit

Permalink
Remove misnamed libxml parsing flag
Browse files Browse the repository at this point in the history
  • Loading branch information
coolo committed Apr 4, 2022
1 parent d2d0837 commit 544e614
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions History.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
=== 1.3.8 / 2022-04-04

* Do not replace entities while parsing

=== 1.3.7 / 2016-07-04

* Fix XML parsing: ignore comments and parse huge TXT nodes
Expand Down
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ and generate the RDoc.

(The MIT License)

Copyright (c) 2012 Stephan Kulow
Copyright (c) 2012-2022 Stephan Kulow

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
2 changes: 1 addition & 1 deletion ext/xmlhash/xmlhash.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ static VALUE parse_xml_hash(VALUE self, VALUE rb_xml)
memcpy(data, StringValuePtr(rb_xml), RSTRING_LEN(rb_xml));

reader = xmlReaderForMemory(data, RSTRING_LEN(rb_xml),
NULL, NULL, XML_PARSE_NOENT | XML_PARSE_NOERROR | XML_PARSE_NOWARNING | XML_PARSE_HUGE );
NULL, NULL, XML_PARSE_NOERROR | XML_PARSE_NOWARNING | XML_PARSE_HUGE );
init_XmlhashParserData();

if (reader != NULL) {
Expand Down
2 changes: 1 addition & 1 deletion lib/xmlhash.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'xmlhash/xmlhash'

module Xmlhash
VERSION = '1.3.7'
VERSION = '1.3.8'

class XMLHash < Hash

Expand Down

0 comments on commit 544e614

Please sign in to comment.