logstash-filter-xml 4.1.2 → 4.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 341341771fd929d860c64f07d7d6a9217c8a75bb714b793d7953f6c46d5bcc96
4
- data.tar.gz: 4f487912f96f1012c572b17a56338b995ddb1e286bb4c6404be340c52041e440
3
+ metadata.gz: 62c5715957c1a55a56e17b7da5aca249805f6545ee93bc63f4ebe0afb5b89336
4
+ data.tar.gz: 830fc0ec0863e760bf94338961248aca9567998c105ee6661774234bc9019d10
5
5
  SHA512:
6
- metadata.gz: 273fa3a48ca13c865f91c34de00a798051906eaf95cb8295fc2e1e7d881c933dcad5da72a1fdc56dbbd200574a948143be9f44308ed3f4af13cc10ca7798ca90
7
- data.tar.gz: 3bc74c8a5fb1ed39bf5cce4a16fdccc29c1f020b27470783e6613dc7200049f34c97b913bcbb3da33dd15d0f7c8777bcc37a6b322ed418675a89c2d0589fa2bf
6
+ metadata.gz: 6fd190231a661d8a99f7a8a97915b5adbd327b1533d58e7ef02643a52eadf6d0dd3be5defd9b4627ffa08e07b03fecae533aec36da3ab3e2c442fc8a81585b2b
7
+ data.tar.gz: 69db3a81bba9ac9e1baccaa8affa18d17a0e0b6ab5c0ae82cd7cbe039454cf6814db937b3b92fa0f402134052a7d6a1c696fe60e403226993472c158b6131341
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 4.1.3
2
+ - [DOC] Updated URL for current xsl reference docs [#70](https://github.com/logstash-plugins/logstash-filter-xml/pull/70)
3
+ - [DOC] Added info about non valid characters [#72](https://github.com/logstash-plugins/logstash-filter-xml/pull/72)
4
+
1
5
  ## 4.1.2
2
6
  - [DOC] Updated docs to correct name of parse_options config option [#75](https://github.com/logstash-plugins/logstash-filter-xml/pull/75)
3
7
 
data/docs/index.asciidoc CHANGED
@@ -99,6 +99,18 @@ By default the parser is not strict and thus accepts some invalid content.
99
99
  Currently supported options are:
100
100
 
101
101
  - `strict` - forces the parser to fail early instead of accumulating errors when content is not valid xml.
102
+
103
+ Control characters such as ASCII 0x0 are not allowed and _always_ result in non-valid XML.
104
+
105
+ When XML content is not valid, it will be tagged as `_xmlparsefailure`.
106
+
107
+ XML specs:
108
+
109
+ * XML 1.0 Spec: https://www.w3.org/TR/2008/REC-xml-20081126/#charsets
110
+ * XML 1.1 Spec: https://www.w3.org/TR/xml11/#charsets
111
+
112
+
113
+
102
114
 
103
115
  [id="plugins-{type}s-{plugin}-remove_namespaces"]
104
116
  ===== `remove_namespaces`
@@ -187,10 +199,12 @@ destination field. Multiple values returned will be pushed onto the
187
199
  destination field as an array. As such, multiple matches across
188
200
  multiple source fields will produce duplicate entries in the field.
189
201
 
190
- More on XPath: http://www.w3schools.com/xml/xml_xpath.asp
202
+ [id="plugins-{type}s-{plugin}-xpath_resources"]
203
+ ====== Additional XPath resources
204
+
205
+ For more information on XPath, see https://www.w3schools.com/xml/xml_xpath.asp.
191
206
 
192
- The XPath functions are particularly powerful:
193
- http://www.w3schools.com/xsl/xsl_functions.asp
207
+ The https://www.w3schools.com/xml/xsl_functions.asp[XPath functions] are particularly powerful.
194
208
 
195
209
 
196
210
 
@@ -51,10 +51,10 @@ class LogStash::Filters::Xml < LogStash::Filters::Base
51
51
  # destination field as an array. As such, multiple matches across
52
52
  # multiple source fields will produce duplicate entries in the field.
53
53
  #
54
- # More on XPath: http://www.w3schools.com/xml/xml_xpath.asp
54
+ # More on XPath: https://www.w3schools.com/xml/xml_xpath.asp
55
55
  #
56
56
  # The XPath functions are particularly powerful:
57
- # http://www.w3schools.com/xsl/xsl_functions.asp
57
+ # https://www.w3schools.com/xml/xsl_functions.asp
58
58
  #
59
59
  config :xpath, :validate => :hash, :default => {}
60
60
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-xml'
4
- s.version = '4.1.2'
4
+ s.version = '4.1.3'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Parses XML into fields"
7
7
  s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-xml
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.2
4
+ version: 4.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-23 00:00:00.000000000 Z
11
+ date: 2021-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -125,8 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  - !ruby/object:Gem::Version
126
126
  version: '0'
127
127
  requirements: []
128
- rubyforge_project:
129
- rubygems_version: 2.6.13
128
+ rubygems_version: 3.1.6
130
129
  signing_key:
131
130
  specification_version: 4
132
131
  summary: Parses XML into fields