Permalink
Browse files

Minor reordering of elements to match DTD

  • Loading branch information...
1 parent e2cbf76 commit 8b9eece42313503ca9806622fbb22e61e09a49b9 @yob yob committed Nov 1, 2008
Showing with 3 additions and 2 deletions.
  1. +1 −0 CHANGELOG
  2. +1 −1 lib/onix/header.rb
  3. +1 −1 lib/onix/product.rb
View
@@ -1,5 +1,6 @@
v0.4.2 (XXX)
- Remove final remnants of REXML code
+- Minor reordering of elements to match DTD
v0.4.1 (UNRELEASED)
- Added accesses to various product measurements. Height, weight, etc.
View
@@ -4,11 +4,11 @@ class Header
xml_name "Header"
- xml_accessor :from_person, :etext, :from => "FromPerson"
xml_accessor :from_ean_number, :etext, :from => "FromEANNumber"
xml_accessor :from_san, :etext, :from => "FromSAN"
xml_accessor :sender_identifiers, [ONIX::SenderIdentifier], :from => "SenderIdentifier"
xml_accessor :from_company, :etext, :from => "FromCompany"
+ xml_accessor :from_person, :etext, :from => "FromPerson"
xml_accessor :from_email, :etext, :from => "FromEmail"
xml_accessor :to_ean_number, :etext, :from => "ToEANNumber"
xml_accessor :to_san, :etext, :from => "ToSAN"
View
@@ -11,8 +11,8 @@ class Product
xml_accessor :series, :from => "Series"
xml_accessor :edition_number, :integer, :from => "EditionNumber"
xml_accessor :titles, [ONIX::Title], :from => "Title"
- xml_accessor :websites, [ONIX::Website], :from => "Website"
xml_accessor :contributors, [ONIX::Contributor], :from => "Contributor"
+ xml_accessor :websites, [ONIX::Website], :from => "Website"
xml_accessor :number_of_pages, :integer, :from => "NumberOfPages"
xml_accessor :bic_main_subject, :from => "BICMainSubject"
xml_accessor :subjects, [ONIX::Subject], :from => "Subject"

0 comments on commit 8b9eece

Please sign in to comment.