Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit e0b26b025a896e7e88f537c23c54945b3837b96d 1 parent 0eb3bd8
@yob authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.