duxml 0.7.2

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.
Files changed (46) hide show
  1. checksums.yaml +7 -0
  2. data/bin/validate_xml +19 -0
  3. data/lib/duxml/doc/element.rb +157 -0
  4. data/lib/duxml/doc/lazy_ox.rb +153 -0
  5. data/lib/duxml/doc/node_set.rb +39 -0
  6. data/lib/duxml/doc.rb +26 -0
  7. data/lib/duxml/meta/grammar/pattern/attr_name_pattern.rb +36 -0
  8. data/lib/duxml/meta/grammar/pattern/attr_val_pattern.rb +36 -0
  9. data/lib/duxml/meta/grammar/pattern/child_pattern.rb +72 -0
  10. data/lib/duxml/meta/grammar/pattern/text_pattern.rb +30 -0
  11. data/lib/duxml/meta/grammar/pattern.rb +98 -0
  12. data/lib/duxml/meta/grammar/pattern_maker.rb +69 -0
  13. data/lib/duxml/meta/grammar/relax_ng/attrs_rule.rb +58 -0
  14. data/lib/duxml/meta/grammar/relax_ng/children_rule.rb +83 -0
  15. data/lib/duxml/meta/grammar/relax_ng/value_rule.rb +44 -0
  16. data/lib/duxml/meta/grammar/relax_ng.rb +40 -0
  17. data/lib/duxml/meta/grammar/rule/attrs_rule.rb +78 -0
  18. data/lib/duxml/meta/grammar/rule/children_rule.rb +137 -0
  19. data/lib/duxml/meta/grammar/rule/text_rule.rb +40 -0
  20. data/lib/duxml/meta/grammar/rule/value_rule.rb +111 -0
  21. data/lib/duxml/meta/grammar/rule.rb +59 -0
  22. data/lib/duxml/meta/grammar/spreadsheet.rb +35 -0
  23. data/lib/duxml/meta/grammar.rb +134 -0
  24. data/lib/duxml/meta/history/add.rb +36 -0
  25. data/lib/duxml/meta/history/change.rb +71 -0
  26. data/lib/duxml/meta/history/change_attr.rb +34 -0
  27. data/lib/duxml/meta/history/change_text.rb +33 -0
  28. data/lib/duxml/meta/history/error.rb +25 -0
  29. data/lib/duxml/meta/history/new_attr.rb +33 -0
  30. data/lib/duxml/meta/history/new_text.rb +37 -0
  31. data/lib/duxml/meta/history/qualify_error.rb +22 -0
  32. data/lib/duxml/meta/history/remove.rb +28 -0
  33. data/lib/duxml/meta/history/undo.rb +24 -0
  34. data/lib/duxml/meta/history/validate_error.rb +21 -0
  35. data/lib/duxml/meta/history.rb +88 -0
  36. data/lib/duxml/meta.rb +51 -0
  37. data/lib/duxml/reportable.rb +27 -0
  38. data/lib/duxml/ruby_ext/fixnum.rb +56 -0
  39. data/lib/duxml/ruby_ext/module.rb +12 -0
  40. data/lib/duxml/ruby_ext/object.rb +14 -0
  41. data/lib/duxml/ruby_ext/regexp.rb +20 -0
  42. data/lib/duxml/ruby_ext/string.rb +29 -0
  43. data/lib/duxml/saxer.rb +71 -0
  44. data/lib/duxml.rb +97 -0
  45. data/xml/dita_grammar.xml +2133 -0
  46. metadata +117 -0
metadata ADDED
@@ -0,0 +1,117 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: duxml
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.7.2
5
+ platform: ruby
6
+ authors:
7
+ - Peter Kong
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-06-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: ox
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.3'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubyXL
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.3'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.3'
41
+ description: execute 'validate_xml --help' for more info
42
+ email:
43
+ - peter.kong@nxp.com
44
+ executables:
45
+ - validate_xml
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - lib/duxml/doc/element.rb
50
+ - lib/duxml/doc/lazy_ox.rb
51
+ - lib/duxml/doc/node_set.rb
52
+ - lib/duxml/doc.rb
53
+ - lib/duxml/meta/grammar/pattern/attr_name_pattern.rb
54
+ - lib/duxml/meta/grammar/pattern/attr_val_pattern.rb
55
+ - lib/duxml/meta/grammar/pattern/child_pattern.rb
56
+ - lib/duxml/meta/grammar/pattern/text_pattern.rb
57
+ - lib/duxml/meta/grammar/pattern.rb
58
+ - lib/duxml/meta/grammar/pattern_maker.rb
59
+ - lib/duxml/meta/grammar/relax_ng/attrs_rule.rb
60
+ - lib/duxml/meta/grammar/relax_ng/children_rule.rb
61
+ - lib/duxml/meta/grammar/relax_ng/value_rule.rb
62
+ - lib/duxml/meta/grammar/relax_ng.rb
63
+ - lib/duxml/meta/grammar/rule/attrs_rule.rb
64
+ - lib/duxml/meta/grammar/rule/children_rule.rb
65
+ - lib/duxml/meta/grammar/rule/text_rule.rb
66
+ - lib/duxml/meta/grammar/rule/value_rule.rb
67
+ - lib/duxml/meta/grammar/rule.rb
68
+ - lib/duxml/meta/grammar/spreadsheet.rb
69
+ - lib/duxml/meta/grammar.rb
70
+ - lib/duxml/meta/history/add.rb
71
+ - lib/duxml/meta/history/change.rb
72
+ - lib/duxml/meta/history/change_attr.rb
73
+ - lib/duxml/meta/history/change_text.rb
74
+ - lib/duxml/meta/history/error.rb
75
+ - lib/duxml/meta/history/new_attr.rb
76
+ - lib/duxml/meta/history/new_text.rb
77
+ - lib/duxml/meta/history/qualify_error.rb
78
+ - lib/duxml/meta/history/remove.rb
79
+ - lib/duxml/meta/history/undo.rb
80
+ - lib/duxml/meta/history/validate_error.rb
81
+ - lib/duxml/meta/history.rb
82
+ - lib/duxml/meta.rb
83
+ - lib/duxml/reportable.rb
84
+ - lib/duxml/ruby_ext/fixnum.rb
85
+ - lib/duxml/ruby_ext/module.rb
86
+ - lib/duxml/ruby_ext/object.rb
87
+ - lib/duxml/ruby_ext/regexp.rb
88
+ - lib/duxml/ruby_ext/string.rb
89
+ - lib/duxml/saxer.rb
90
+ - lib/duxml.rb
91
+ - xml/dita_grammar.xml
92
+ - bin/validate_xml
93
+ homepage: http://www.github.com/ruby-dita/duxml
94
+ licenses:
95
+ - MIT
96
+ metadata: {}
97
+ post_install_message:
98
+ rdoc_options: []
99
+ require_paths:
100
+ - lib
101
+ required_ruby_version: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: 1.9.3
106
+ required_rubygems_version: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: 1.8.11
111
+ requirements: []
112
+ rubyforge_project:
113
+ rubygems_version: 2.0.14.1
114
+ signing_key:
115
+ specification_version: 4
116
+ summary: Dynamic Universal XML
117
+ test_files: []