xml-sax-machines 0.3.0 → 0.4.0
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.
- data/VERSION.yml +1 -1
- data/lib/xml-sax-machines/filter.rb +13 -1
- data/xml-sax-machines.gemspec +1 -1
- metadata +2 -2
data/VERSION.yml
CHANGED
@@ -46,6 +46,10 @@ module XML
|
|
46
46
|
@filter.end_element(name) if @filter
|
47
47
|
end
|
48
48
|
|
49
|
+
def end_element_namespace(name, prefix = nil, uri = nil) #:nodoc:
|
50
|
+
@filter.end_element_namespace(name, attributes, prefix, uri, ns) if @filter
|
51
|
+
end
|
52
|
+
|
49
53
|
def error(string) #:nodoc:
|
50
54
|
@filter.error(string) if @filter
|
51
55
|
end
|
@@ -55,13 +59,21 @@ module XML
|
|
55
59
|
end
|
56
60
|
|
57
61
|
def start_element(name, attributes = []) #:nodoc:
|
58
|
-
@filter.start_element(name, attributes
|
62
|
+
@filter.start_element(name, attributes) if @filter
|
63
|
+
end
|
64
|
+
|
65
|
+
def start_element_namespace(name, attributes = [], prefix = nil, uri = nil, ns = []) #:nodoc:
|
66
|
+
@filter.start_element_namespace(name, attributes, prefix, uri, ns) if @filter
|
59
67
|
end
|
60
68
|
|
61
69
|
def warning(string) #:nodoc:
|
62
70
|
@filter.warning(string) if @filter
|
63
71
|
end
|
64
72
|
|
73
|
+
def xmldecl(version, encoding, standalone)
|
74
|
+
@filter.xmldecl(version, encoding, standalone) if @filter
|
75
|
+
end
|
76
|
+
|
65
77
|
end # Filter
|
66
78
|
end # SAX
|
67
79
|
end # XML
|
data/xml-sax-machines.gemspec
CHANGED