oga 2.11-java → 2.12-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -389,6 +389,7 @@
389
389
 
390
390
  element_start = '<' ident_char;
391
391
  element_end = '</';
392
+ element_start_pattern = '<' identifier (':' identifier)?;
392
393
 
393
394
  # Machine used for lexing the name/namespace of an element.
394
395
  element_name := |*
@@ -551,6 +552,7 @@
551
552
  # Machine used for processing the contents of an XML element's starting tag.
552
553
  element_head := |*
553
554
  newline => advance_newline;
555
+ element_start_pattern;
554
556
 
555
557
  # Attribute names and namespaces.
556
558
  identifier ':' => {
@@ -578,6 +580,7 @@
578
580
  # tag.
579
581
  html_element_head := |*
580
582
  newline => advance_newline;
583
+ element_start_pattern;
581
584
 
582
585
  html_identifier => {
583
586
  callback(id_on_attribute, data, encoding, ts, te);
data/lib/liboga.jar CHANGED
Binary file
data/lib/oga/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Oga
2
- VERSION = '2.11'
2
+ VERSION = '2.12'
3
3
  end # Oga
data/oga.gemspec CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
6
6
  s.authors = ['Yorick Peterse']
7
7
  s.email = 'yorickpeterse@gmail.com'
8
8
  s.summary = 'Oga is an XML/HTML parser written in Ruby.'
9
- s.homepage = 'https://github.com/yorickpeterse/oga/'
9
+ s.homepage = 'https://gitlab.com.com/yorickpeterse/oga/'
10
10
  s.description = s.summary
11
11
  s.license = 'MPL-2.0'
12
12
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oga
3
3
  version: !ruby/object:Gem::Version
4
- version: '2.11'
4
+ version: '2.12'
5
5
  platform: java
6
6
  authors:
7
7
  - Yorick Peterse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-06 00:00:00.000000000 Z
11
+ date: 2017-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -206,7 +206,7 @@ files:
206
206
  - lib/oga/xpath/lexer.rb
207
207
  - lib/oga/xpath/parser.rb
208
208
  - oga.gemspec
209
- homepage: https://github.com/yorickpeterse/oga/
209
+ homepage: https://gitlab.com.com/yorickpeterse/oga/
210
210
  licenses:
211
211
  - MPL-2.0
212
212
  metadata: {}