lib/rubyXL/objects/worksheet.rb in rubyXL-2.5.6 vs lib/rubyXL/objects/worksheet.rb in rubyXL-2.5.7
- old
+ new
@@ -644,14 +644,14 @@
define_child_node(RubyXL::WebPublishingItems)
define_child_node(RubyXL::TableParts)
define_child_node(RubyXL::ExtensionStorageArea)
define_child_node(RubyXL::AlternateContent)
define_element_name 'worksheet'
- set_namespaces('xmlns' => 'http://schemas.openxmlformats.org/spreadsheetml/2006/main',
- 'xmlns:r' => 'http://schemas.openxmlformats.org/officeDocument/2006/relationships',
- 'xmlns:mc' => 'http://schemas.openxmlformats.org/markup-compatibility/2006',
- 'xmlns:x14ac' => 'http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac',
- 'xmlns:mv' => 'urn:schemas-microsoft-com:mac:vml')
+ set_namespaces('http://schemas.openxmlformats.org/spreadsheetml/2006/main' => '',
+ 'http://schemas.openxmlformats.org/officeDocument/2006/relationships' => 'r',
+ 'http://schemas.openxmlformats.org/markup-compatibility/2006' => 'mc',
+ 'http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac' => 'x14ac',
+ 'urn:schemas-microsoft-com:mac:vml' => 'mv')
attr_accessor :workbook, :state, :sheet_name, :sheet_id
def before_write_xml # This method may need to be moved higher in the hierarchy
first_nonempty_row = nil