Skip to content

Commit

Permalink
In ONIX 2.1 AudienceRangeValue is free text, not just an integer
Browse files Browse the repository at this point in the history
  • Loading branch information
yob committed Dec 28, 2012
1 parent 0eb3bd8 commit e0b26b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/onix/audience_range.rb
Expand Up @@ -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
Expand Down

0 comments on commit e0b26b0

Please sign in to comment.