forked from Empact/roxml
-
Notifications
You must be signed in to change notification settings - Fork 1
/
TODO
37 lines (22 loc) · 1.05 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Planned:
v 3.2
* Support outputting namespaced attrs
* Consider class_inheritable_attribute rather than superclass.try stuff.
* Do some benchmarking
* Back with http://xml-object.rubyforge.org/doc/ to minimize need for specifications?
* Commandeer #parse to use opposite #from_xml, but in an unrooted, collection-friendly fashion,
ala HappyMapper's parse
v 3.x
* :self => true for sending method_missing to this attribute?
* :attributes extensions ala HappyMapper?
* Add xml_attrs helper to share :in declarations between several attributes. E.g.:
xml_reader :count, :in => 'Attributes', :as => Integer
xml_reader :something_else, :in => 'Attributes', :as => Date
becomes:
xml_attrs :in => 'Attributes' do |xml|
xml.reader :count, :as => Integer
xml.reader :something_else, :as => Date
end
* Ensure (perhaps optionally) that references are unambiguous. That is error/warn
a singular specification has multiple possible node references
* Use lazy evaluation to minimize parsing time for large files