Browse files

In ONIX 2.1 AudienceRangeValue is free text, not just an integer

  • Loading branch information...
1 parent 0eb3bd8 commit e0b26b025a896e7e88f537c23c54945b3837b96d @yob committed Dec 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/onix/audience_range.rb
View
2 lib/onix/audience_range.rb
@@ -8,7 +8,7 @@ class AudienceRange
xml_accessor :audience_range_qualifier, :from => "AudienceRangeQualifier", :as => Fixnum, :to_xml => ONIX::Formatters.two_digit
xml_accessor :audience_range_precisions, :from => "AudienceRangePrecision", :as => [Fixnum], :to_xml => [ONIX::Formatters.two_digit] # TODO: two_digit isn't working on the array items
- xml_accessor :audience_range_values, :from => "AudienceRangeValue", :as => [Integer]
+ xml_accessor :audience_range_values, :from => "AudienceRangeValue"
# TODO: element AudienceRange: validity error :
# Element AudienceRange content does not follow the DTD, expecting

0 comments on commit e0b26b0

Please sign in to comment.